diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2020-07-21 23:44:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 23:44:41 +0300 |
commit | cc49a5b506cdf0094f1517ea4bf6ac6e7a248b44 (patch) | |
tree | 83f6df41ee7f5eb97f9dc9ad2058d520cda5101f | |
parent | 99013a5c54f562f704e3105c335fe985233611e4 (diff) |
Turn off scroll anchoring for accordions (#31347)
New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see #31341
This rule suppresses this new behavior and reverts back to the old way.
See https://drafts.csswg.org/css-scroll-anchoring/
-rw-r--r-- | scss/_card.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index 07af29c374..7c35f7ed8f 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -264,6 +264,8 @@ // .accordion { + overflow-anchor: none; + > .card { overflow: hidden; |