FIX: Make selected sheet bold

This commit is contained in:
Nicolás Hatcher
2024-10-24 00:39:55 +02:00
committed by Nicolás Hatcher Andrés
parent 3e54ad5b3c
commit 090e852054

View File

@@ -108,7 +108,7 @@ const SheetListMenu = (properties: SheetListMenuProps) => {
/>
)}
{hasColors && <ItemColor style={{ backgroundColor: tab.color }} />}
<ItemName>{tab.name}</ItemName>
<ItemName style={{fontWeight: index === selectedIndex ?"bold": "normal" }}>{tab.name}</ItemName>
</StyledMenuItem>
))}
</StyledMenu>