Skip to content

Commit

Permalink
style: enhance scrollbar and overflow behavior for improved user expe…
Browse files Browse the repository at this point in the history
…rience

- Added stable scrollbar gutter to ensure consistent layout across browsers.
- Implemented auto-scrolling for html and body to enhance page navigation.
- Adjusted drawer content to allow scrolling with a minimum height of 100vh.
- Overrode DaisyUI overflow constraints for better drawer functionality.
  • Loading branch information
tphakala committed Jan 11, 2025
1 parent b79a804 commit 879f6ab
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions assets/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/* Ensure scrollbar gutter is stable */
html {
scrollbar-gutter: stable !important;
}

/* Force page scrolling behavior */
html, body {
height: 100%;
overflow-y: auto;
}

/* Ensure drawer content can scroll */
.drawer-content {
height: auto !important;
min-height: 100vh;
overflow-y: auto;
scrollbar-gutter: stable;
}

/* Override any DaisyUI overflow constraints */
.drawer.drawer-open {
overflow-y: auto;
scrollbar-gutter: stable;
}

.audio-control {
width: 100%;
height: 25px;
Expand Down

0 comments on commit 879f6ab

Please sign in to comment.