Skip to content

Commit

Permalink
Archivo: add progressive enhancement to reduce widows and orphans (#8405
Browse files Browse the repository at this point in the history
)

* Add progressive enhancement to reduce widows and orphans
  • Loading branch information
iamtakashi authored Nov 11, 2024
1 parent 0dfbc41 commit 48f372f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion archivo/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,20 @@ License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template:
Text Domain: archivo
Tags: one-column, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready, wide-blocks, style-variations
Tags: blog, portfolio, three-columns,left-sidebar, block-styles, featured-images, full-site-editing, rtl-language-support, style-variations, threaded-comments, translation-ready, wide-blocks
*/

/* Progressive enhancement to reduce widows and orphans.
/* https://github.com/WordPress/gutenberg/issues/55190
*/

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption {
text-wrap: balance;
}
p {
text-wrap: pretty;
}

/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
Expand Down

0 comments on commit 48f372f

Please sign in to comment.