adventskalender/shared/style.css aktualisiert
This commit is contained in:
@@ -41,8 +41,9 @@ html, body {
|
|||||||
.kalenderbild img {
|
.kalenderbild img {
|
||||||
display: block;
|
display: block;
|
||||||
aspect-ratio: 16 / 9;
|
aspect-ratio: 16 / 9;
|
||||||
max-width: 100vw;
|
/* Abstand für Rahmen oben + unten einberechnet */
|
||||||
max-height: 100dvh;
|
max-height: calc(100dvh - 8px);
|
||||||
|
max-width: calc(100vw - 8px);
|
||||||
border: 4px solid var(--ci-gold);
|
border: 4px solid var(--ci-gold);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
|||||||
Reference in New Issue
Block a user