We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec900ee commit 0cbd0fdCopy full SHA for 0cbd0fd
2 files changed
apps/desktop/src/app.css
@@ -407,6 +407,13 @@ body {
407
flex-direction: column;
408
}
409
410
+/* SvelteKit's production build strips inline styles from its mount target.
411
+ * Without this, the #app-root div defaults to display:block, breaking
412
+ * the body flex layout (content overflows instead of fitting the window). */
413
+#app-root {
414
+ display: contents;
415
+}
416
+
417
/* Disable scroll bounce on all scrollable elements */
418
* {
419
overscroll-behavior: none;
apps/desktop/src/app.html
@@ -84,6 +84,6 @@
84
<div id="loading-screen">
85
<div class="app-loader"></div>
86
</div>
87
- <div style="display: contents">%sveltekit.body%</div>
+ <div id="app-root" style="display: contents">%sveltekit.body%</div>
88
</body>
89
</html>
0 commit comments