A platform for community discussion. Free, open, simple.
UX: Do not anchor scroll on topic navigation/map (#30580)
David Taylor486ff2a5643f
diff --git a/app/assets/stylesheets/common/base/topic.scss b/app/assets/stylesheets/common/base/topic.scssindex 3daa7244031..ad1b1bac136 100644--- a/app/assets/stylesheets/common/base/topic.scss+++ b/app/assets/stylesheets/common/base/topic.scss@@ -40,6 +40,10 @@Without this those themes would render topics unreadable. */}+ .topic-navigation {+ overflow-anchor: none;+ }+// timeline@media screen and (min-width: 925px) {// at 925px viewport width and above the timeline is visible (see topic-navigation.js)diff --git a/app/assets/stylesheets/common/components/topic-map.scss b/app/assets/stylesheets/common/components/topic-map.scssindex 7e242a406db..11ed9547889 100644--- a/app/assets/stylesheets/common/components/topic-map.scss+++ b/app/assets/stylesheets/common/components/topic-map.scss@@ -44,6 +44,7 @@ body:not(.archetype-private_message) {(var(--topic-body-width-padding) * 2));padding-block: 0.5em;+ overflow-anchor: none;@include breakpoint(mobile-large) {font-size: var(--font-down-1);