This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,6 @@ $activeBorderColor: $secondary-fg-color;
237237
238238 .mx_SpacePanel_badgeContainer {
239239 position : absolute ;
240- height : 16px ;
241240
242241 // Create a flexbox to make aligning dot badges easier
243242 display : flex ;
@@ -249,23 +248,37 @@ $activeBorderColor: $secondary-fg-color;
249248
250249 .mx_NotificationBadge_dot {
251250 // make the smaller dot occupy the same width for centering
252- margin-left : 7px ;
253- margin-right : 7px ;
251+ margin : 0 7px ;
254252 }
255253 }
256254
257255 & .collapsed {
258256 .mx_SpaceButton {
259257 .mx_SpacePanel_badgeContainer {
260- right : -3px ;
261- top : -3px ;
258+ right : 0 ;
259+ top : 0 ;
260+
261+ .mx_NotificationBadge {
262+ background-clip : padding-box ;
263+ }
264+
265+ .mx_NotificationBadge_dot {
266+ margin : 0 -1px 0 0 ;
267+ border : 3px solid $groupFilterPanel-bg-color ;
268+ }
269+
270+ .mx_NotificationBadge_2char ,
271+ .mx_NotificationBadge_3char {
272+ margin : -5px -5px 0 0 ;
273+ border : 2px solid $groupFilterPanel-bg-color ;
274+ }
262275 }
263276
264277 & .mx_SpaceButton_active .mx_SpacePanel_badgeContainer {
265278 // when we draw the selection border we move the relative bounds of our parent
266279 // so update our position within the bounds of the parent to maintain position overall
267- right : -6 px ;
268- top : -6 px ;
280+ right : -3 px ;
281+ top : -3 px ;
269282 }
270283 }
271284 }
You can’t perform that action at this time.
0 commit comments