From e247114fb11ac47fcd9c615c7b5b6ea958fac710 Mon Sep 17 00:00:00 2001 From: johnsoncherian Date: Thu, 19 Jun 2025 09:24:27 +0530 Subject: [PATCH] refactor: format style files to match sass guidelines --- frontend/ee | 2 +- .../LeftSidebarInspector/CustomJSONViewer/styles.scss | 7 +++---- frontend/src/_styles/modules.scss | 11 +++++------ frontend/src/_styles/theme.scss | 3 --- 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/frontend/ee b/frontend/ee index 0b99e18dce..f72079a835 160000 --- a/frontend/ee +++ b/frontend/ee @@ -1 +1 @@ -Subproject commit 0b99e18dce36102e12b11bace9d9d422d3e8758b +Subproject commit f72079a835f8f37429eaaf15c670b7ec0d048554 diff --git a/frontend/src/AppBuilder/LeftSidebar/LeftSidebarInspector/CustomJSONViewer/styles.scss b/frontend/src/AppBuilder/LeftSidebar/LeftSidebarInspector/CustomJSONViewer/styles.scss index eea3660631..067004d437 100644 --- a/frontend/src/AppBuilder/LeftSidebar/LeftSidebarInspector/CustomJSONViewer/styles.scss +++ b/frontend/src/AppBuilder/LeftSidebar/LeftSidebarInspector/CustomJSONViewer/styles.scss @@ -6,15 +6,14 @@ color: var(--text-default, #1B1F24); overflow-x: auto; min-width: 0; + // Hide scrollbar for IE, Edge and Firefox + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ // Hide scrollbar for Chrome, Safari and Opera &::-webkit-scrollbar { display: none; } - - // Hide scrollbar for IE, Edge and Firefox - -ms-overflow-style: none; /* IE and Edge */ - scrollbar-width: none; /* Firefox */ .json-viewer-row-container { min-width: max-content; diff --git a/frontend/src/_styles/modules.scss b/frontend/src/_styles/modules.scss index dd9891df6d..a812f949bb 100644 --- a/frontend/src/_styles/modules.scss +++ b/frontend/src/_styles/modules.scss @@ -26,11 +26,11 @@ } .apps-modules-tabs.dark-mode { + border-bottom-color: #2B394A; + .nav-link { background-color: inherit; } - - border-bottom-color: #2B394A; } #homePage-tab-front-end, @@ -44,6 +44,9 @@ .module-container-canvas { >div:first-child { + /* Firefox scrollbar support */ + scrollbar-width: thin; + scrollbar-color: transparent transparent; height: 100%; overflow: hidden auto; @@ -65,10 +68,6 @@ } } - /* Firefox scrollbar support */ - scrollbar-width: thin; - scrollbar-color: transparent transparent; - &:hover { scrollbar-color: #6a727c4d transparent; } diff --git a/frontend/src/_styles/theme.scss b/frontend/src/_styles/theme.scss index 6d596ee7ec..c7f1cfc0e0 100644 --- a/frontend/src/_styles/theme.scss +++ b/frontend/src/_styles/theme.scss @@ -4153,9 +4153,6 @@ input[type="text"] { .rbc-event-label { display: none; } - - background-color: var(--primary-brand) !important; - border: transparent } .rbc-off-range-bg {