diff options
| author | Patrick H. Lauke <[email protected]> | 2020-07-21 18:17:28 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-21 18:17:28 +0100 |
| commit | c7bc7a31bbc11c3f9af3ad317581cbd13c7bb5f1 (patch) | |
| tree | 6e6fcf52704b4a106356bc76af9b0d883861b808 | |
| parent | 2ec2e138c97ff58c98e4f6fbdb78e4e4dec6914f (diff) | |
| download | bootstrap-c7bc7a31bbc11c3f9af3ad317581cbd13c7bb5f1.tar.xz bootstrap-c7bc7a31bbc11c3f9af3ad317581cbd13c7bb5f1.zip | |
Turn off scroll anchoring for accordions (#31346)
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 697fe5184..7db0de221 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -220,6 +220,8 @@ // .accordion { + overflow-anchor: none; + > .card { overflow: hidden; |
