From 38e997c84baac841f3b4336120d46e6bb261fffb Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Wed, 2 Feb 2022 14:24:56 +0100 Subject: [PATCH] contained height depending on view width --- hangar/css/styleHangar.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hangar/css/styleHangar.css b/hangar/css/styleHangar.css index 6fd5b67..632e36f 100644 --- a/hangar/css/styleHangar.css +++ b/hangar/css/styleHangar.css @@ -277,7 +277,6 @@ table.cf7-db-table tbody td > div { position: relative; min-width: 100%; height: 40vw; - max-height: 50vh; margin-bottom: 2rem; overflow: hidden; } @@ -331,3 +330,14 @@ table.cf7-db-table tbody td > div { margin: 1rem; } } +@media screen and (min-width: 1920px) { + aside.hero .widget-container { + max-height: 50vh; + } +} +@media screen and (min-width: 3840px) { + aside.hero .widget-container { + max-height: 25vh; + } +} +