Skip to content

Commit b4c5f53

Browse files
doublefacedoubleface
authored andcommitted
feat: Update NavDesktopDropdown style
- change overline variant - use overline variant in NavDesktopDropdown for the title - align the title icon to the right
1 parent a47dacf commit b4c5f53

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

react/MuiCozyTheme/makeTypography.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ export const makeTypography = () => ({
6969
letterSpacing: '0.5px'
7070
},
7171
overline: {
72-
fontSize: 11,
73-
fontWeight: 500,
74-
lineHeight: '16px',
75-
letterSpacing: '0.5px',
72+
fontSize: 10,
73+
fontWeight: 700,
74+
lineHeight: '13px',
75+
letterSpacing: '0',
7676
textTransform: 'inherit'
7777
}
7878
})

react/Nav/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ export const NavDesktopDropdown = ({
140140
<>
141141
<ListItem size="small" className={isActivated ? 'u-c-pointer' : ''}>
142142
<DropdownText
143-
variant="subtitle2"
143+
variant="overline"
144144
color="textSecondary"
145+
spaceBetween
145146
innerIconProps={innerIconProps}
146147
onClick={() => {
147148
if (!isActivated) {

0 commit comments

Comments
 (0)