Skip to content

Commit

Permalink
Merge pull request #175 from savindi7/chore-update-font-size-navbar
Browse files Browse the repository at this point in the history
chore(react): update font size of Navbar sub item
  • Loading branch information
savindi7 authored Oct 26, 2023
2 parents b0ca83b + a40789d commit 486d821
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const CollapsibleNavbarItem: ForwardRefExoticComponent<CollapsibleNavbarItemProp
{...otherSubItemProps}
>
<ListItemIcon>{subItemIcon}</ListItemIcon>
<ListItemText secondary={subItemName} />
<ListItemText primary={subItemName} />
{open && subItemTag ? (
<Chip
label={subItemTag}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
.oxygen-list-sub-item-button {
border-radius: 0;
transition: all 0.2s;
padding: 6px 14px;
padding: 6px 12px;
color: var(--oxygen-palette-secondary-contrastText);

&:last-child {
border-bottom-left-radius: var(--oxygen-shape-borderRadius);
Expand All @@ -109,10 +110,6 @@
.oxygen-list-item-icon {
min-width: 0;
padding: 0 1px;

svg {
width: 12px;
}
}

.oxygen-list-item-text {
Expand Down Expand Up @@ -163,7 +160,7 @@
.oxygen-list-sub-item-button {
justify-content: initial;
transition: all 0.2s;
padding-left: 30px;
padding-left: 40px;

.oxygen-list-item-icon {
margin-right: 10px;
Expand Down

0 comments on commit 486d821

Please sign in to comment.