Fix figures not allowing scrolling for oversized content

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2023-06-22 21:35:07 +02:00
parent 797ece883e
commit 3488084e16
+4 -2
View File
@@ -2,9 +2,11 @@
// Block: Figure // Block: Figure
// -------------------------------------------------------------------------------- // --------------------------------------------------------------------------------
figure.block { figure.block {
display: block; display: grid;
grid-auto-rows: min-content;
position: relative; position: relative;
overflow: hidden; overflow-x: scroll;
overflow-y: hidden;
} }
figure.block figcaption { figure.block figcaption {