image gallery improvements: sizing corrected, button padding edited, removed clipping corners from images filling the entire component

This commit is contained in:
2026-04-07 08:35:55 +02:00
parent 0d608a6287
commit 41084ead1e
2 changed files with 17 additions and 12 deletions

View File

@@ -161,6 +161,7 @@
/* sizing */
--media-width: 80%;
--media-height: 400px;
--width-toc: 650px;
/* page sizing */
@@ -298,7 +299,7 @@
margin-left: auto;
margin-right: auto;
display: flex;
max-height: 400px;
max-height: var(--media-height);
object-fit: contain;
}