fix: 🐛 scrollbar color in dark mode + layout bugs (#3226)

* fix: 🐛 header scrollbar overlap in desktop

* refactor: 💡 undo desktop scrollbar changes

* refactor: 💡 fix whitespace issues when viewport is small

* fix: 🐛 scrollbar color issue in dark mode

* fix: 🐛 move style inside of media query
This commit is contained in:
Lisbet Alvarez authored and GitHub committed 2026-05-15 15:01:19 -07:00
1 parent 077200d792
commit 95918cb997
3 files changed
+13 -2

No files matched your search

@@ -242,6 +242,12 @@
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
// Apply dark style overrides to scrollbar when system is in dark mode and app theme is not set to light
html:has(.ember-application:not(.rose-theme-light)) {
scrollbar-color: var(--token-color-palette-neutral-400)
var(--token-color-palette-neutral-600);
}
.ember-application:not(.rose-theme-light) { .ember-application:not(.rose-theme-light) {
@include dark-mode; @include dark-mode;
@include dark-mode-modal-override; @include dark-mode-modal-override;
@@ -252,6 +258,12 @@
} }
} }
// Apply dark style overrides to scrollbar when app theme is set to dark regardless of system theme
html:has(.ember-application.rose-theme-dark) {
scrollbar-color: var(--token-color-palette-neutral-400)
var(--token-color-palette-neutral-600);
}
.ember-application.rose-theme-dark { .ember-application.rose-theme-dark {
@include dark-mode; @include dark-mode;
@include dark-mode-modal-override; @include dark-mode-modal-override;
@@ -12,7 +12,7 @@
'header header header' 'header header header'
'navigation navigation navigation' 'navigation navigation navigation'
'body body body'; 'body body body';
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, auto);
grid-template-rows: auto 1fr; grid-template-rows: auto 1fr;
.rose-layout-page-header { .rose-layout-page-header {
-1
View File
@@ -335,7 +335,6 @@
background: transparent; background: transparent;
border: transparent; border: transparent;
color: var(--white); color: var(--white);
margin: sizing.rems(xs);
} }
.button-window-close { .button-window-close {