Fixed overflowing navigation on non-breaking words

This commit is contained in:
squidfunk 2023-09-23 09:31:29 +02:00
parent 11b1c55ba1
commit 62bd70a6d2
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF

View File

@ -173,6 +173,9 @@
// Stretch first child // Stretch first child
&:first-child { &:first-child {
flex-grow: 1; 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;
} }
} }