mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
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:
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user