From 5e21279fd94220b23c75fb90d5f04cadd2d8f518 Mon Sep 17 00:00:00 2001 From: magicfelix <felix@felix-zauberer.de> Date: Sat, 22 May 2021 19:14:15 +0200 Subject: [PATCH] Set max-height for img in carousel --- static/css/style.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index cae599d..0834213 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -182,10 +182,6 @@ time.icon span { color: var(--teckids-secondary-dark); } -.carousel .carousel-image { - max-height: 500px; -} - .carousel-text-dark { color: #000; text-shadow: 1px 1px 3px #fff; @@ -205,5 +201,6 @@ time.icon span { } .carousel-inner img { - margin: auto; + max-height: 70vh; + margin: auto; } -- GitLab