Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2020-07-21 23:44:41 +0300
committerGitHub <noreply@github.com>2020-07-21 23:44:41 +0300
commitcc49a5b506cdf0094f1517ea4bf6ac6e7a248b44 (patch)
tree83f6df41ee7f5eb97f9dc9ad2058d520cda5101f
parent99013a5c54f562f704e3105c335fe985233611e4 (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.scss2
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;