Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix: empty wrappers without items should not be visible in view mode (#1026)

Meier Lukas022fad92a9aa
diff --git a/apps/nextjs/src/styles/gridstack.scss b/apps/nextjs/src/styles/gridstack.scss
index ebc722fd7..9e11de73b 100644
--- a/apps/nextjs/src/styles/gridstack.scss
+++ b/apps/nextjs/src/styles/gridstack.scss
@@ -100,7 +100,9 @@
transition: none;
}
-.gridstack-empty-wrapper {
- height: 0px;
- min-height: 0px !important;
+/**
+ * Hide empty wrapper (class is used when no items are inside and not in edit mode)
+ */
+.grid-stack-empty-wrapper {
+ display: none !important;
}