Skip to content

Commit

Permalink
modify mobile table of contents (on this page) to appear on the corre…
Browse files Browse the repository at this point in the history
…ct breakpoint (#13880)
  • Loading branch information
shughes26 authored Jan 27, 2025
1 parent e1338d4 commit aee48fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions assets/css/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -4142,13 +4142,13 @@ div.highlight .copy-button{
padding:8px 0
}

@media(min-width: 1024px){
@media(min-width: 1280px){
.docs-list-main .docs-main-content-wrapper .docs-table-of-contents{
width:240px
}
}

@media(min-width: 1024px){
@media(min-width: 1280px){
.docs-list-main .docs-main-content-wrapper .docs-table-of-contents{
min-width:340px
}
Expand All @@ -4167,7 +4167,7 @@ div.highlight .copy-button{
display:none
}

@media(min-width: 1024px){
@media(min-width: 1280px){
.docs-list-main .docs-main-content-wrapper{
flex-direction:row;
gap:24px
Expand Down Expand Up @@ -4412,7 +4412,7 @@ div.highlight .copy-button{
margin-left:16px
}

@media(min-width: 1024px){
@media(min-width: 1280px){
.docs-list-main div.table-of-contents,body.section-registry div.table-of-contents{
display:flex;
flex-direction:column;
Expand Down Expand Up @@ -4454,7 +4454,7 @@ div.highlight .copy-button{
color:#2b2b2c
}

@media(min-width: 1024px){
@media(min-width: 1280px){
.docs-list-main div#accordion-table-of-contents .accordion-checkbox-table-of-contents,.docs-list-main div#accordion-table-of-contents label,body.section-registry div#accordion-table-of-contents .accordion-checkbox-table-of-contents,body.section-registry div#accordion-table-of-contents label{
pointer-events:none
}
Expand Down
10 changes: 5 additions & 5 deletions theme/src/scss/docs/_docs-main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,11 @@ body.section-registry {
padding: 8px 0;
}

@media (min-width: 1024px) {
@media (min-width: 1280px) {
width: 240px;
}

@media (min-width: 1024px) {
@media (min-width: 1280px) {
min-width: 340px;
}
}
Expand All @@ -444,7 +444,7 @@ body.section-registry {
}


@media (min-width: 1024px) {
@media (min-width: 1280px) {
flex-direction: row;
gap: 24px;

Expand Down Expand Up @@ -695,7 +695,7 @@ body.section-registry {
}
}

@media (min-width: 1024px) {
@media (min-width: 1280px) {
display: flex;
flex-direction: column;
gap: 24px;
Expand Down Expand Up @@ -744,7 +744,7 @@ body.section-registry {
}
}

@media (min-width: 1024px) {
@media (min-width: 1280px) {
.accordion-checkbox-table-of-contents,
label {
pointer-events: none;
Expand Down

0 comments on commit aee48fe

Please sign in to comment.