Skip to content

Commit

Permalink
Reduce font size
Browse files Browse the repository at this point in the history
  • Loading branch information
theodore-s-beers committed Apr 28, 2022
1 parent bd0a9e5 commit 52960dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pretty.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function pretty() {
// Iterate over hemistichs, calculating width of each
for (const element of allHems) {
const testText = element.innerText;
const hemWidth = getTextWidth(testText, "20px 'Scheherazade New'");
const hemWidth = getTextWidth(testText, "18px 'Scheherazade New'");

// If this hemistich's width is a new maximum, update
if (hemWidth > maxWidth) {
Expand Down
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body {

p {
font-family: "Scheherazade New", serif;
font-size: 20px;
font-size: 18px;
margin: 0;
text-align-last: justify;
}
Expand Down

0 comments on commit 52960dc

Please sign in to comment.