Skip to content

Commit

Permalink
fix: display work duration on one line only
Browse files Browse the repository at this point in the history
I noticed when a work location address was too long the work duration will use multiple lines. Using `white-space: nowrap;` will make sure the work duration will be displayed on one line only.
  • Loading branch information
Maarten Paauw committed May 6, 2022
1 parent ec82dbd commit 12b60b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/scss/work.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
.dates {
font-size: $work-dates-font-size;
font-weight: lighter;
white-space: nowrap;
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ li {
display: table-cell; }
.work .header .table .right .dates {
font-size: 15px;
font-weight: lighter; }
font-weight: lighter;
white-space: nowrap; }

.work .summary {
font-size: 16px;
Expand Down

0 comments on commit 12b60b3

Please sign in to comment.