From af7f99678220e653d357c24b08132ee3e09f207f Mon Sep 17 00:00:00 2001 From: Tomasz Dziezyk Date: Fri, 17 Nov 2023 10:52:21 +0100 Subject: [PATCH] #43 Udpate content height calculation --- blocks/v2-truck-features/v2-truck-features.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/blocks/v2-truck-features/v2-truck-features.css b/blocks/v2-truck-features/v2-truck-features.css index b884b2782..b3803d315 100644 --- a/blocks/v2-truck-features/v2-truck-features.css +++ b/blocks/v2-truck-features/v2-truck-features.css @@ -18,6 +18,12 @@ justify-content: space-between; } +@supports (height: 1svh) { + .v2-truck-features__content { + height: calc(100svh - var(--nav-height) - var(--inpage-navigation-height)); + } +} + .v2-truck-features__heading { font-family: var(--ff-subheadings-medium); font-size: 32px;