Skip to content

Commit

Permalink
Optically balance the text of post title and summary
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkudrna committed Apr 13, 2024
1 parent c3d9900 commit 52537e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/scss/styles/06-components/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.article__title,
.article__summary {
max-width: 50rem;
text-wrap: balance;
}

.article__title {
Expand Down
1 change: 1 addition & 0 deletions assets/scss/styles/06-components/_post-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ $_post-card-padding-y: spacing.of(1);
.post-card__title,
.post-card__summary {
max-width: 30rem;
text-wrap: balance;
}

.post-card__title {
Expand Down

0 comments on commit 52537e1

Please sign in to comment.