From 022fad92a9aa74c132c91c6e0a942c7d520eac88 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Sun, 25 Aug 2024 11:38:05 +0200 Subject: [PATCH] fix: empty wrappers without items should not be visible in view mode (#1026) --- apps/nextjs/src/styles/gridstack.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; }