Skip to content

Commit 4ad080c

Browse files
authored
fix: apply the same border for button groups (#10092)
1 parent 14c8824 commit 4ad080c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

site/src/theme/theme.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,16 @@ dark = createTheme(dark, {
206206
},
207207
},
208208
},
209+
MuiButtonGroup: {
210+
styleOverrides: {
211+
root: {
212+
">button:hover+button": {
213+
// The !important is unfortunate, but necessary for the border.
214+
borderLeftColor: `${colors.gray[10]} !important`,
215+
},
216+
},
217+
},
218+
},
209219
MuiTableContainer: {
210220
styleOverrides: {
211221
root: {

0 commit comments

Comments
 (0)