mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Fix navbar height flickering during load (#12738)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
3
packages/editor-ui/src/styles/_global.scss
Normal file
3
packages/editor-ui/src/styles/_global.scss
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
:root {
|
||||||
|
--navbar--height: 64px;
|
||||||
|
}
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
@import 'variables';
|
@import 'variables';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
@import 'global';
|
||||||
@import 'animations';
|
@import 'animations';
|
||||||
|
|||||||
Reference in New Issue
Block a user