From 62bd70a6d2b8ba91e163f8fdd039a202496a2fa5 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 23 Sep 2023 09:31:29 +0200 Subject: [PATCH] Fixed overflowing navigation on non-breaking words --- src/templates/assets/stylesheets/main/components/_nav.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/templates/assets/stylesheets/main/components/_nav.scss b/src/templates/assets/stylesheets/main/components/_nav.scss index 89df734ff..4a3f341bf 100644 --- a/src/templates/assets/stylesheets/main/components/_nav.scss +++ b/src/templates/assets/stylesheets/main/components/_nav.scss @@ -173,6 +173,9 @@ // Stretch first child &:first-child { flex-grow: 1; + // Hack: if a very long word is used, it can push the arrow out of sight. + // Setting this property contains the text - see https://t.ly/E02vp + min-width: 0; } }