Skip to content

Commit a591559

Browse files
committed
Adjust buttons
1 parent 168814c commit a591559

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

site/src/components/UserDropdownContent/UserDropdownContent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
107107
const useStyles = makeStyles((theme) => ({
108108
info: {
109109
padding: theme.spacing(2.5),
110+
...theme.typography.body2,
110111
},
111112
userName: {
112113
fontWeight: 600,

site/src/theme/theme.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,13 @@ dark = createTheme(dark, {
120120
color: "neutral",
121121
},
122122
styleOverrides: {
123-
root: {
123+
root: ({ theme }) => ({
124124
textTransform: "none",
125125
letterSpacing: "normal",
126126
fontWeight: 500,
127127
height: BUTTON_MD_HEIGHT,
128-
},
128+
padding: theme.spacing(1, 2),
129+
}),
129130
sizeSmall: {
130131
borderRadius: 6,
131132
height: BUTTON_SM_HEIGHT,
@@ -145,12 +146,12 @@ dark = createTheme(dark, {
145146
},
146147
iconSizeMedium: {
147148
"& > .MuiSvgIcon-root": {
148-
fontSize: 18,
149+
fontSize: 16,
149150
},
150151
},
151152
iconSizeSmall: {
152153
"& > .MuiSvgIcon-root": {
153-
fontSize: 16,
154+
fontSize: 14,
154155
},
155156
},
156157
},

0 commit comments

Comments
 (0)