Implement keyboard navigation using arrow keys in the whole application. #2

Merged
LeoVasanko merged 8 commits from keyboard-nav into main 2025-12-10 15:43:40 +00:00
Showing only changes of commit fbce5b97db - Show all commits
+3 -13
View File
@@ -73,11 +73,14 @@
}
html {
overflow: clip;
height: 100%;
background: var(--color-canvas);
}
body {
overflow: auto;
scrollbar-gutter: stable;
height: 100%;
margin: 0;
font-family: var(--font-sans);
@@ -745,23 +748,10 @@ body.has-backdrop::before {
visibility: visible;
}
/* Prevent scrolling via html to avoid scrollbar layout shift */
html:has(body.has-backdrop),
html:has(#auth-iframe) {
overflow: clip;
}
body.has-backdrop {
overflow: auto;
}
/* Make fixed elements (toast, dialog) position relative to body, not viewport */
/* This works because transform creates a new containing block for fixed children */
body.has-backdrop,
body:has(#auth-iframe) {
transform: translateZ(0);
}
#auth-iframe {
border: none;
position: fixed;