Skip to content

Commit

Permalink
Events/Releases: Limit year/version font-size to prevent overflow.
Browse files Browse the repository at this point in the history
Previous it would overflow below `385px`.
  • Loading branch information
iandunn committed Mar 2, 2022
1 parent 268a530 commit 1718dac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.wp-block-wporg-event-year {
font-family: var(--wp--preset--font-family--inter);
font-size: 160px;
font-size: min( 35vw, 160px );
font-weight: 200;
line-height: 1;
letter-spacing: -10px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.wp-block-wporg-release-version {
font-family: var(--wp--preset--font-family--inter);
font-size: 160px;
font-size: min( 35vw, 160px );
font-weight: 200;
line-height: 1;

Expand Down

0 comments on commit 1718dac

Please sign in to comment.