소스 검색

Merge pull request #5583 from NadavTasher/feature/better-scrollbar-disabling

Change way of disabling scrollbars, disable swimlane scrollbars
Lauri Ojansivu 7 달 전
부모
커밋
42be851d64

+ 1 - 4
client/components/cards/cardDetails.css

@@ -89,10 +89,7 @@
   box-shadow: 0 0 7px 0 #b3b3b3;
   transition: flex-basis 0.1s;
   box-sizing: border-box;
-}
-.card-details::-webkit-scrollbar {
-  /* Hide scroll bars from middle of the screen */
-  display: none !important;
+  scrollbar-width: none;
 }
 .card-details .mCustomScrollBox {
   padding-left: 0;

+ 1 - 4
client/components/lists/list.css

@@ -152,10 +152,7 @@
   display: flex;
   overflow-y: auto;
   padding: 5px 11px;
-}
-.list-body::-webkit-scrollbar {
-  /* Hide scroll bars from middle of the screen */
-  display: none !important;
+  scrollbar-width: none;
 }
 .list-body .minicards {
   flex-grow: 1;

+ 1 - 4
client/components/sidebar/sidebar.css

@@ -4,10 +4,7 @@
   bottom: 0;
   right: 0;
   overflow-y: scroll;
-}
-.sidebar::-webkit-scrollbar {
-  /* Hide scroll bars from middle of the screen */
-  display: none !important;
+  scrollbar-width: none;
 }
 .sidebar .sidebar-shadow {
   background: #f7f7f7;

+ 1 - 0
client/components/swimlanes/swimlanes.css

@@ -8,6 +8,7 @@
   flex-direction: row;
   overflow: auto;
   max-height: 100%;
+  scrollbar-width: none;
 }
 .swimlane-header-menu .swimlane-header-collapse-down {
   font-size: 50%;