Skip to content

Commit

Permalink
Update ToC breakpoint to 1300px (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz authored Feb 7, 2024
1 parent 0b0aa7c commit 2681794
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mu-plugins/blocks/sidebar-container/src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"inlineBreakpoint": {
"type": "string",
"default": "1200px"
"default": "1300px"
}
},
"supports": {
Expand Down
8 changes: 4 additions & 4 deletions mu-plugins/blocks/table-of-contents/postcss/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

font-size: var(--wp--preset--font-size--small);

@media (max-width: 1199px) {
@media (max-width: 1299px) {
border: 1px solid var(--wp--preset--color--light-grey-1);
border-radius: 2px;
}
Expand All @@ -13,7 +13,7 @@
.wporg-table-of-contents__header {
position: relative;

@media (max-width: 1199px) {
@media (max-width: 1299px) {
padding: 15px var(--wp--preset--spacing--20);
}

Expand All @@ -34,7 +34,7 @@
border: none;
padding: 0 var(--wp--preset--spacing--20) 0 0;

@media (min-width: 1200px) {
@media (min-width: 1300px) {
display: none;
}

Expand Down Expand Up @@ -69,7 +69,7 @@
line-height: 1.6;
list-style: none;

@media (max-width: 1199px) {
@media (max-width: 1299px) {
display: none;
margin-bottom: 0;
margin-top: 0;
Expand Down

0 comments on commit 2681794

Please sign in to comment.