Skip to content

Commit

Permalink
Merge pull request #1268 from maykinmedia/issue/2357-A11y-zoom-400
Browse files Browse the repository at this point in the history
♿ [#2357] Correct product-pages 400% zoom
  • Loading branch information
alextreme authored Jun 25, 2024
2 parents a2906c1 + a4bd73e commit 764c70d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/open_inwoner/scss/components/ReadMore/ReadMore.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
display: grid;
grid-template-rows: 0fr;
transition: 0.5s;
overflow: hidden;

&--hidden {
// hide content if toggle-button is active
// always show for screenreaders
min-height: 0;
overflow: hidden;
}
}

Expand All @@ -41,6 +41,10 @@
.readmore__content {
scroll-margin-top: var(--spacing-giant);
grid-template-rows: 1fr;

&--hidden {
overflow: visible;
}
}
}
}

0 comments on commit 764c70d

Please sign in to comment.