A platform for community discussion. Free, open, simple.
UX: Horizon > apply small styling fixes for discotoc plugin (#33826)
chapoi7404e3f526fe
diff --git a/themes/horizon/scss/buttons.scss b/themes/horizon/scss/buttons.scssindex 9f742119d00..4b2b39facbe 100644--- a/themes/horizon/scss/buttons.scss+++ b/themes/horizon/scss/buttons.scss@@ -108,3 +108,15 @@);}}++// DiscoToc plugin+.d-toc-main,+.timeline-footer-controls {+ .btn.timeline-toggle {+ border-top-right-radius: 8px;+ border-top-left-radius: 8px;+ border-bottom-left-radius: 0;+ border-bottom-right-radius: 0;+ bottom: var(--main-grid-gap);+ }+}diff --git a/themes/horizon/scss/topic.scss b/themes/horizon/scss/topic.scssindex d6519b2a6d1..200ab5d956e 100644--- a/themes/horizon/scss/topic.scss+++ b/themes/horizon/scss/topic.scss@@ -51,9 +51,13 @@}}-.container.posts {- grid-template-columns: auto 8em;+body:not(.d-toc-installed) {+ .container.posts {+ grid-template-columns: auto 8em;+ }+}+.container.posts {@media screen and (width <= 924px) {grid-template-columns: auto auto;}