commit: babe3697dbda0c7aefd7be2230dec0955600ed3e
parent c14f88e2906f02d1759e2e2b4c585be30390e9ea
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 12 Feb 2025 21:50:21 +0200
increase load time to avoid glitchiness
Diffstat:
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/App.scss b/src/App.scss
@@ -498,8 +498,6 @@ nav {
box-sizing: content-box;
color: inherit;
- --shadow: none;
-
&.-link {
/* stylelint-disable-next-line declaration-no-important */
color: var(--link) !important;
diff --git a/src/services/theme_data/theme_data_3.service.js b/src/services/theme_data/theme_data_3.service.js
@@ -567,7 +567,13 @@ export const init = ({
if (!liteMode && combination.state.indexOf('hover') >= 0) {
combination.lazy = true
}
- if (extraCompileComponents.has(component.name)) {
+
+ if (
+ parent?.component !== 'Root' &&
+ !virtualComponents.has(component.name) &&
+ !transparentComponents.has(component.name) &&
+ extraCompileComponents.has(component.name)
+ ) {
combination.lazy = true
}