FIX: Make selected sheet bold
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
3e54ad5b3c
commit
090e852054
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user