fix(editor): Fix navbar height flickering during load (#12738)

This commit is contained in:
Alex Grozav
2025-01-21 11:06:22 +02:00
committed by GitHub
parent 2d3b643f6e
commit a96b3f0091
3 changed files with 5 additions and 0 deletions

View File

@@ -276,6 +276,7 @@ function hideGithubButton() {
} }
.main-header { .main-header {
min-height: var(--navbar--height);
background-color: var(--color-background-xlight); background-color: var(--color-background-xlight);
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;

View File

@@ -0,0 +1,3 @@
:root {
--navbar--height: 64px;
}

View File

@@ -1,3 +1,4 @@
@import 'variables'; @import 'variables';
@import 'plugins'; @import 'plugins';
@import 'global';
@import 'animations'; @import 'animations';