@@ -131,8 +131,6 @@ img {
131131.dataminr-content {
132132 border-top : 1px solid @color-border ;
133133 border-bottom : 1px solid @color-border ;
134- margin-right : calc (15px / 2 );
135- margin-left : calc (15px / 2 );
136134 padding : 0 ;
137135
138136 & .dataminr-no-top-border {
@@ -157,7 +155,6 @@ img {
157155 display : flex ;
158156 flex-wrap : wrap ;
159157 gap : 0 ;
160- padding : 0 10px 4px 0 ;
161158 max-height : 140px ;
162159 overflow-y : auto ;
163160 scrollbar-gutter : stable;
@@ -167,34 +164,47 @@ img {
167164
168165.dm-jewel-theme {
169166 .dataminr-alerts-list {
170- margin-right : -30px ;
171- padding : 0 15px 4px 0 ;
172-
173167 @media (max-width : 735px ) {
174168 margin-right : 0 !important ;
175169 padding : 0 4px 4px 4px !important ;
176170 }
177171 }
178172
179173 & .overlay-scrollbars .dataminr-alerts-list {
180- padding-right : 20px ;
181- margin-right : -20px ;
174+ margin-right : 0px ;
182175 }
183176}
184177
185178.polarity-x-client .dataminr-alerts-list {
186179 margin-right : 0 ;
187- padding : 0 4 px 2 px 4 px ;
180+ padding : 0 !important ;
188181}
189182
190183.dm-jewel-theme.polarity-x-client .dataminr-alerts-list {
184+ // Reset global scrollbar styles so our webkit styles take effect
185+ // This is primarily for Chrome
186+ scrollbar-color : auto ;
187+ scrollbar-width : auto ;
188+
189+ // Due to client Chrome version we must use ::webkit-scrollbar attributes
190+ // to style the scrollbar
191+ & ::-webkit-scrollbar-track {
192+ background-color : transparent ;
193+ }
194+
191195 & ::-webkit-scrollbar {
192- width : 8px ;
196+ width : 12px ;
197+ height : 10px ;
198+ background-color : rgba (0 , 0 , 0 , 0 );
193199 }
194200
195201 & ::-webkit-scrollbar-thumb {
196- width : 100% ;
197- border : none ;
202+ background-color : #8b8e98 ;
203+ border-radius : 12px ;
204+ // This creates an effect where the thumb scroll element appears to be
205+ // in the middle of the track with space on the side.
206+ border : 4px solid transparent ;
207+ background-clip : content-box ;
198208 }
199209}
200210
@@ -1460,11 +1470,9 @@ img {
14601470}
14611471
14621472.dataminr-alert-live-brief-regenai-header {
1463- background : linear-gradient (
1464- 90deg ,
1465- @color-gradient-regenai-start,
1466- @color-bg-intel-agents
1467- );
1473+ background : linear-gradient (90deg ,
1474+ @color-gradient-regenai-start,
1475+ @color-bg-intel-agents);
14681476 padding : 10px ;
14691477 border-top-left-radius : 0.5rem ;
14701478 border-top-right-radius : 0.5rem ;
@@ -1912,7 +1920,6 @@ img {
19121920 flex-direction : column ;
19131921 gap : 4px ;
19141922 padding-left : 15px ;
1915- // border-left: 2px solid @color-border;
19161923 padding : 10px 10px 15px 15px ;
19171924 background-color : @color-bg-metadata ;
19181925 border-radius : 4px ;
0 commit comments