Merge pull request #1887 from EpLiar/fix/dark-mode-full-height

fix(gui): keep dark background across full page height
This commit is contained in:
Markson Hon authored and GitHub committed 2026-06-29 19:18:38 +08:00
commit 06defad587
1 file changed
+2 -1
+2 -1
View File
@@ -647,6 +647,7 @@ export default {
},
applyThemeClass() {
document.body.classList.toggle('theme-dark', this.isDarkTheme);
document.documentElement.classList.toggle('theme-dark', this.isDarkTheme);
},
toggleTheme() {
const order = ['auto', 'light', 'dark'];
@@ -705,7 +706,7 @@ html {
// }
#app {
height: calc(100vh - 3.25rem);
min-height: calc(100vh - 3.25rem);
/*overflow-y: auto;*/
//overflow-scrolling: touch;
//-webkit-overflow-scrolling: touch;