File tree Expand file tree Collapse file tree
javascripts/discourse/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,20 +158,21 @@ html.rtl SELECTOR {
158158.d-toc-mini {
159159 align-self : stretch ;
160160
161- button {
161+ & __button {
162+ border-radius : 0 ;
163+ background : var (--secondary );
164+ border : 1px solid var (--primary-low );
162165 height : 100% ;
163166 }
164167}
165168
166169// overlaid timeline (on mobile and narrow screens)
167- @include viewport .until (md ) {
170+ @include viewport .until (lg ) {
168171 .topic-navigation {
169172 & :has (.d-toc-mini ) {
170- @include viewport .until (md) {
171- position : sticky ;
172- bottom : calc (env (safe-area-inset-bottom ) + var (--composer-height , 0px ));
173- z-index : z (" timeline" );
174- }
173+ position : sticky ;
174+ bottom : calc (env (safe-area-inset-bottom ) + var (--composer-height , 0px ));
175+ z-index : z (" timeline" );
175176
176177 .d-toc-wrapper {
177178 position : fixed ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default class TocMini extends Component {
4141 {{#if this . tocProcessor.hasTOC }}
4242 <span class =" d-toc-mini" >
4343 <DButton
44- class =" btn-primary "
44+ class =" d-toc-mini__button "
4545 @ icon =" bars-staggered"
4646 @ action ={{this .toggleTOCOverlay }}
4747 />
You can’t perform that action at this time.
0 commit comments