fix(firefox): inconsistent behavior of breadcrumb
This commit is contained in:
parent
1361b49316
commit
e8fedb200b
1 changed files with 1 additions and 1 deletions
|
|
@ -660,7 +660,7 @@ frappe.ui.form.Form = class FrappeForm {
|
||||||
configure_breadcrumb_width() {
|
configure_breadcrumb_width() {
|
||||||
let el = this.page.page_actions[0];
|
let el = this.page.page_actions[0];
|
||||||
const rect = el.getBoundingClientRect();
|
const rect = el.getBoundingClientRect();
|
||||||
let is_outside = rect.right > document.documentElement.clientWidth;
|
let is_outside = cint(rect.right) > cint(document.documentElement.clientWidth);
|
||||||
|
|
||||||
if (is_outside) {
|
if (is_outside) {
|
||||||
// check if the default actions are outside of the screen
|
// check if the default actions are outside of the screen
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue