From 12b60b32cf532641ee65cc9e32aa24e80efc1038 Mon Sep 17 00:00:00 2001 From: Maarten Paauw Date: Fri, 6 May 2022 14:53:49 +0200 Subject: [PATCH] fix: display work duration on one line only 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. --- assets/scss/work.scss | 1 + assets/styles.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/scss/work.scss b/assets/scss/work.scss index 2173888..5fa55cb 100644 --- a/assets/scss/work.scss +++ b/assets/scss/work.scss @@ -31,6 +31,7 @@ .dates { font-size: $work-dates-font-size; font-weight: lighter; + white-space: nowrap; } } } diff --git a/assets/styles.css b/assets/styles.css index a5e498b..71eaa5d 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -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;