diff --git a/engine/css/editor.css.php b/engine/css/editor.css.php index a950f8d3..0924667c 100644 --- a/engine/css/editor.css.php +++ b/engine/css/editor.css.php @@ -459,8 +459,16 @@ .xGalleryContainer { clear: left; - min-height: 20px; } + .xGalleryContainer:not(.xGalleryHasImages) { + max-height: 0; + overflow: hidden; + transition: max-height .15s ease-out; + } + .xEntry:hover .xGalleryContainer:not(.xGalleryHasImages), + .xEntry:focus-within .xGalleryContainer:not(.xGalleryHasImages) { + max-height: 24px; + } .xGalleryContainer .entryGallery { position: relative; }