diff --git a/javascript/sdnext.css b/javascript/sdnext.css index 22a091cda..cca12cb53 100644 --- a/javascript/sdnext.css +++ b/javascript/sdnext.css @@ -1748,6 +1748,13 @@ background: var(--background-color) width: max-content; } +#tab-gallery-files gallery-file { + /* Add a vertical gutter between items (left/right), matching existing small row spacing */ + display: inline-block; + margin-right: 0.2em; + vertical-align: top; /* keep rows aligned on the top edge */ +} + #tab-gallery-files { display: block; height: 75vh; @@ -1845,6 +1852,22 @@ div:has(>#tab-gallery-folders) { object-fit: contain; } +/* Gallery video preview matches image preview sizing and layout */ +#tab-gallery-video { + height: 63vh; +} + +/* Ensure the