Skip to content

Commit

Permalink
Merge pull request #112 from RSE-Sheffield/bugfix_titlecard_fontsize
Browse files Browse the repository at this point in the history
Bugfix: .card-title text would wrap at high screen widths.
  • Loading branch information
zkamvar authored Dec 12, 2023
2 parents 2e62ad2 + df0f24d commit b316098
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@

* Overview box heading font sizes now scaled based on viewport size. This fixes
issues where the heading would wrap in an ugly fashion.
(reported: @jd-foster, https://github.com/carpentries/varnish/issues/83,
(reported: @jd-foster, #83,
@drmownickles, https://github.com/carpentries/workbench/issues/57,
@rbavery, https://github.com/carpentries/workbench/issues/64; fixed:
@froggleston, https://github.com/carpentries/varnish/pull/109).
@rbavery, https://github.com/carpentries/workbench/issues/64,
@robadob, #111; fixed:
@froggleston, #109,
@robadob, #112).
* Spacing and alignment of text improved in Software Carpentry logo.
(reported: @tobyhodges, #107; fixed @tobyhodges, #110).

Expand Down
2 changes: 1 addition & 1 deletion source/stylesheets/overview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
text-decoration-thickness: 1px;
text-underline-offset: 25px;
margin-bottom: 50px;
font-size: calc(22px + 0.2vw);
font-size: min(25px, calc(22px + 0.2vw));
font-weight: 600;
line-height: 1.5rem;
}
Expand Down

0 comments on commit b316098

Please sign in to comment.