From 3488084e164d8efceb934c5a12fe0e84e6d38e35 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Thu, 22 Jun 2023 21:35:07 +0200 Subject: [PATCH] Fix figures not allowing scrolling for oversized content --- _sass/_block-figure.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_sass/_block-figure.scss b/_sass/_block-figure.scss index e65b1a0..b06cbce 100644 --- a/_sass/_block-figure.scss +++ b/_sass/_block-figure.scss @@ -2,9 +2,11 @@ // Block: Figure // -------------------------------------------------------------------------------- figure.block { - display: block; + display: grid; + grid-auto-rows: min-content; position: relative; - overflow: hidden; + overflow-x: scroll; + overflow-y: hidden; } figure.block figcaption {