Unverified Commit cc49a5b5 authored by Patrick H. Lauke's avatar Patrick H. Lauke Committed by GitHub
Browse files

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/
parent 99013a5c
Showing with 2 additions and 0 deletions
+2 -0
...@@ -264,6 +264,8 @@ ...@@ -264,6 +264,8 @@
// //
.accordion { .accordion {
overflow-anchor: none;
> .card { > .card {
overflow: hidden; overflow: hidden;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment