File tree Expand file tree Collapse file tree 2 files changed +30
-23
lines changed
src/features/Overview/ShredsProgression Expand file tree Collapse file tree 2 files changed +30
-23
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default function ShredsSlotLabels() {
2323 if ( isStartup ) return ;
2424
2525 return (
26- < Flex overflow = "hidden" position = "relative" style = { { height : "25px " } } >
26+ < Flex overflow = "hidden" position = "relative" style = { { height : "27px " } } >
2727 { groupLeaderSlots . map ( ( slot ) => (
2828 < SlotGroupLabel key = { slot } firstSlot = { slot } />
2929 ) ) }
@@ -66,24 +66,26 @@ function SlotGroupLabel({ firstSlot }: SlotGroupLabelProps) {
6666 [ styles . skipped ] : skippedSlots . size > 0 ,
6767 } ) }
6868 >
69- < Flex
70- justify = "center"
71- align = "center"
72- width = "100%"
73- gap = "4px"
74- p = "1px 2px"
75- wrap = "nowrap"
76- flexGrow = "1"
77- className = { styles . slotGroupNameContainer }
78- >
79- < PeerIcon
80- url = { peer ?. info ?. icon_url }
81- size = { 17 }
82- isYou = { isLeader }
83- hideTooltip
84- />
85- < Text className = { styles . name } > { name } </ Text >
86- </ Flex >
69+ < div className = { styles . slotGroupTopContainer } >
70+ < Flex
71+ justify = "center"
72+ align = "center"
73+ width = "100%"
74+ gap = "4px"
75+ p = "1px 2px"
76+ wrap = "nowrap"
77+ flexGrow = "1"
78+ className = { styles . slotGroupNameContainer }
79+ >
80+ < PeerIcon
81+ url = { peer ?. info ?. icon_url }
82+ size = { 17 }
83+ isYou = { isLeader }
84+ hideTooltip
85+ />
86+ < Text className = { styles . name } > { name } </ Text >
87+ </ Flex >
88+ </ div >
8789
8890 < Flex
8991 width = "100%"
Original file line number Diff line number Diff line change 33 --group-y : -150% ;
44 --group-name-opacity : 0 ;
55
6- background-color : # 15181e ;
6+ background-color : # 080b13 ;
77 border-radius : 2px ;
88 border : 1px solid # 3c4652 ;
99 will-change : transform, width;
1717 background-color : var (--red-2 );
1818 }
1919
20+ .slot-group-top-container {
21+ width : 100% ;
22+ background-color : # 15181e ;
23+ }
24+
2025 .slot-group-name-container {
2126 opacity : var (--group-name-opacity );
2227 transition : opacity 1s ;
4449 height : 100% ;
4550 border-radius : 3px ;
4651 & : nth-child (1 ) {
47- background-color : var (--blue-9 );
52+ background-color : var (--blue-7 );
4853 }
4954 & : nth-child (2 ) {
50- background-color : var (--blue-7 );
55+ background-color : var (--blue-6 );
5156 }
5257 & : nth-child (3 ) {
5358 background-color : var (--blue-5 );
5459 }
5560 & : nth-child (4 ) {
56- background-color : var (--blue-3 );
61+ background-color : var (--blue-4 );
5762 }
5863
5964 & .skipped {
You can’t perform that action at this time.
0 commit comments