Skip to content

Commit 931731a

Browse files
BrunoQuaresmapull[bot]
authored andcommitted
fix(site): Fix focus state on buttons (#7526)
1 parent b50ee15 commit 931731a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

site/src/theme/theme.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ dark = createTheme(dark, {
126126
height: BUTTON_MD_HEIGHT,
127127
padding: theme.spacing(1, 2),
128128
whiteSpace: "nowrap",
129+
":focus-visible": {
130+
outline: `2px solid ${theme.palette.primary.main}`,
131+
},
129132
}),
130133
sizeSmall: {
131134
borderRadius: 6,

0 commit comments

Comments
 (0)