diff --git a/src/components/shortcuts.jsx b/src/components/shortcuts.jsx index b7cf35ed..280f75cc 100644 --- a/src/components/shortcuts.jsx +++ b/src/components/shortcuts.jsx @@ -95,7 +95,9 @@ function Shortcuts() { {title} - {i + 1} + + {i + 1} + ); })} diff --git a/src/index.css b/src/index.css index 48e6f767..15b128ff 100644 --- a/src/index.css +++ b/src/index.css @@ -299,6 +299,13 @@ code { color: var(--text-insignificant-color); } +.hide-until-focus-visible { + display: none; +} +:has(:focus-visible) .hide-until-focus-visible { + display: initial; +} + /* KEYFRAMES */ @keyframes appear {