From e8ed99a302fc2679ff6368272e38e9694b70b033 Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Sat, 31 Jan 2026 14:30:52 +0000 Subject: [PATCH 1/5] fix: add overflow auto to result container in list view to prevent overflow issues --- frappe/public/scss/desk/list.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/public/scss/desk/list.scss b/frappe/public/scss/desk/list.scss index a658e26406..a3bd5cb9b0 100644 --- a/frappe/public/scss/desk/list.scss +++ b/frappe/public/scss/desk/list.scss @@ -1,6 +1,7 @@ .layout-main-section-wrapper:not(.disable-scrolling) { .frappe-list { .result-container { + overflow: auto; .result { min-width: 100%; width: auto; From fb1667ce6e563f9387ae48fd9e954e1904e73be6 Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Sat, 31 Jan 2026 14:33:59 +0000 Subject: [PATCH 2/5] fix(calendar): align footnoot with the calender --- frappe/public/js/frappe/views/calendar/calendar.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/views/calendar/calendar.js b/frappe/public/js/frappe/views/calendar/calendar.js index 67296b1a61..06286b3d79 100644 --- a/frappe/public/js/frappe/views/calendar/calendar.js +++ b/frappe/public/js/frappe/views/calendar/calendar.js @@ -166,8 +166,9 @@ frappe.views.Calendar = class Calendar { this.$wrapper, __("Select or drag across time slots to create a new event.") ); - this.footnote_area.css({ "border-top": "0px" }); - + this.footnote_area.addClass("px-4 pb-4").css({ + "border-top": "0px", + }); this.fullCalendar = new frappe.FullCalendar(this.$cal[0], this.cal_options); this.fullCalendar.render(); From 0643b91af90e4996daba3b8ef885cac311ecc38a Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Mon, 2 Feb 2026 16:12:33 +0000 Subject: [PATCH 3/5] revert(calendar): remove overflow auto from result container in list view --- frappe/public/scss/desk/list.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/frappe/public/scss/desk/list.scss b/frappe/public/scss/desk/list.scss index a3bd5cb9b0..a658e26406 100644 --- a/frappe/public/scss/desk/list.scss +++ b/frappe/public/scss/desk/list.scss @@ -1,7 +1,6 @@ .layout-main-section-wrapper:not(.disable-scrolling) { .frappe-list { .result-container { - overflow: auto; .result { min-width: 100%; width: auto; From e320d7657c15acd4fe8c7f279af920db8876fff0 Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Mon, 2 Feb 2026 16:14:16 +0000 Subject: [PATCH 4/5] fix(calender): set overflow auto for .result-container in `set_css` This to avoid multiple scrollbars to the page on the list view on some screens and limit to apply only on calender view --- frappe/public/js/frappe/views/calendar/calendar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/public/js/frappe/views/calendar/calendar.js b/frappe/public/js/frappe/views/calendar/calendar.js index 06286b3d79..550f63c7ea 100644 --- a/frappe/public/js/frappe/views/calendar/calendar.js +++ b/frappe/public/js/frappe/views/calendar/calendar.js @@ -244,6 +244,8 @@ frappe.views.Calendar = class Calendar { $(this).addClass("active"); }); + + this.$wrapper.closest(".result-container").css("overflow", "auto"); } get_system_datetime(date) { From 3a5cc1a1bf658321fd76a289fad662b439d8384c Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Mon, 9 Feb 2026 22:29:25 +0000 Subject: [PATCH 5/5] Revert "fix(calender): set overflow auto for .result-container in `set_css`" This reverts commit e320d7657c15acd4fe8c7f279af920db8876fff0. --- frappe/public/js/frappe/views/calendar/calendar.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/frappe/public/js/frappe/views/calendar/calendar.js b/frappe/public/js/frappe/views/calendar/calendar.js index 550f63c7ea..06286b3d79 100644 --- a/frappe/public/js/frappe/views/calendar/calendar.js +++ b/frappe/public/js/frappe/views/calendar/calendar.js @@ -244,8 +244,6 @@ frappe.views.Calendar = class Calendar { $(this).addClass("active"); }); - - this.$wrapper.closest(".result-container").css("overflow", "auto"); } get_system_datetime(date) {