Skip to content
Snippets Groups Projects

Prevent dialog from scrolling out of view using CSS

1 file
+ 13
0
Compare changes
  • Side-by-side
  • Inline
+ 13
0
@@ -18,3 +18,16 @@
padding: 1.5rem 0;
max-width: 650px;
}
body:has(.autosave-dialog) {
overflow: clip;
}
body .autosave-dialog {
overflow-y: scroll;
overflow-x: hidden;
margin-top: 1vh;
margin-bottom: 1vh;
display: flex;
flex-direction: column;
}
\ No newline at end of file
Loading