Skip to content

Commit 1942acd

Browse files
fix: add client icon to current slot
1 parent 42644d9 commit 1942acd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/features/Navigation/SlotsRenderer.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ function CurrentLeaderSlotGroup({ firstSlot }: { firstSlot: number }) {
153153
>
154154
<Flex direction="column" className={styles.leftColumn}>
155155
<SlotIconName slot={firstSlot} iconSize={22} />
156-
<Text className={styles.currentSlotNumber}>{currentSlot}</Text>
156+
<Flex gap="2" align="center" className={styles.currentSlotRow}>
157+
<SlotClient slot={firstSlot} size="small" />
158+
<Text size="2">{currentSlot}</Text>
159+
</Flex>
157160
</Flex>
158161

159162
<SlotStatuses firstSlot={firstSlot} isCurrentSlot />

src/features/Navigation/slotsRenderer.module.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,10 @@
5353
}
5454
}
5555

56-
.current-slot-number {
56+
.current-slot-row {
5757
background-color: var(--slots-list-current-slot-number-background-color);
5858
border-radius: 5px;
59-
font-size: 12px;
6059
padding: 3px 5px;
61-
text-align: center;
6260
}
6361

6462
.past {

0 commit comments

Comments
 (0)