Skip to content

Commit a4bd73e

Browse files
committed
[#2357] Set correct overflow for 400% zoom
1 parent 3d02009 commit a4bd73e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/open_inwoner/scss/components/ReadMore/ReadMore.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
display: grid;
1717
grid-template-rows: 0fr;
1818
transition: 0.5s;
19-
overflow: hidden;
2019

2120
&--hidden {
2221
// hide content if toggle-button is active
2322
// always show for screenreaders
2423
min-height: 0;
24+
overflow: hidden;
2525
}
2626
}
2727

@@ -41,6 +41,10 @@
4141
.readmore__content {
4242
scroll-margin-top: var(--spacing-giant);
4343
grid-template-rows: 1fr;
44+
45+
&--hidden {
46+
overflow: visible;
47+
}
4448
}
4549
}
4650
}

0 commit comments

Comments
 (0)