Skip to content

Commit

Permalink
Revert the columns CSS for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Dec 9, 2021
1 parent 9ef0b0d commit 3fa0b28
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 19 deletions.
13 changes: 0 additions & 13 deletions stewart/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,3 @@ a:hover,
background-color: var(--wp--preset--color--background);
border-color: var(--wp--preset--color--foreground);
}

/*
* Remove 50/50 columns enforcement on tablet-size screens.
* Necessary until the following issues are resolved in Gutenberg:
* https://github.com/WordPress/gutenberg/issues/37252
*/

@media (min-width: 600px) and (max-width: 781px) {
.site-columns.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
flex-basis: 100% !important;
margin-left: 0;
}
}
2 changes: 1 addition & 1 deletion stewart/templates/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"align":"wide","layout":{"inherit":true}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide site-columns"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
<!-- /wp:column -->

Expand Down
2 changes: 1 addition & 1 deletion stewart/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"align":"wide","layout":{"inherit":true}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide site-columns"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
<!-- /wp:column -->

Expand Down
2 changes: 1 addition & 1 deletion stewart/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"align":"wide","layout":{"inherit":true}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide site-columns"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
<!-- /wp:column -->

Expand Down
2 changes: 1 addition & 1 deletion stewart/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"align":"wide","layout":{"inherit":true}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide site-columns"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
<!-- /wp:column -->

Expand Down
2 changes: 1 addition & 1 deletion stewart/templates/sidebar-footer-only.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"align":"wide","layout":{"inherit":true}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide site-columns"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
<!-- /wp:column -->

Expand Down
2 changes: 1 addition & 1 deletion stewart/templates/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"align":"wide","layout":{"inherit":true}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide site-columns"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
<!-- /wp:column -->

Expand Down

0 comments on commit 3fa0b28

Please sign in to comment.