File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -794,6 +794,10 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
794
794
font-size : 0.875rem ;
795
795
}
796
796
797
+ .sidebar__container {
798
+ width : var (--sidebar-width );
799
+ }
800
+
797
801
.sidebar__container button {
798
802
padding : 0.25rem 0.75rem ;
799
803
}
@@ -820,7 +824,7 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
820
824
width : 100% ;
821
825
text-align : left;
822
826
padding : 0.25rem 0.5rem ;
823
- border-radius : 5px ;
827
+ border-radius : 5px 0 5 px 0 ;
824
828
font-weight : 500 ;
825
829
826
830
& : hover {
@@ -849,13 +853,14 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
849
853
850
854
.sidebar__toggle : has (.sidebar__chevron ) {
851
855
padding-left : .4rem ;
856
+ margin-left : -1rem ;
852
857
}
853
858
854
859
.sidebar__link {
855
860
display : block;
856
861
padding : 0.25rem 0.75rem ;
857
- margin : 2px 0.5 rem 2px 0 ;
858
- border-radius : 5px ;
862
+ margin : 2px 0 2px 0 ;
863
+ border-radius : 5px 0 5 px 0 ;
859
864
color : oklch (0 0 0 / 0.75 );
860
865
text-decoration : none;
861
866
transition : background-color 0.2s ease, color 0.2s ease;
@@ -870,7 +875,9 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
870
875
color : oklch (var (--color-brand ) / 1 );
871
876
background-color : oklch (var (--color-brand ) / 0.1 );
872
877
font-weight : 600 ;
873
- width : fit-content;
878
+ display : block; /* Make it stretch horizontally clearly */
879
+ width : auto; /* reset width clearly */
880
+ box-sizing : border-box;
874
881
}
875
882
876
883
.sidebar__toc {
You can’t perform that action at this time.
0 commit comments