From 3c14eeef2e94cd18590e556898e2dca946d60ad2 Mon Sep 17 00:00:00 2001 From: Peter Mosses <18308236+pdmosses@users.noreply.github.com> Date: Mon, 1 Aug 2022 07:14:03 +0200 Subject: [PATCH] Allow links to wrap (#905) Fix #734. - Remove `white-space: nowrap;` in `_sass/content.scss`. - Add an example testing wrapping in`docs/index-test.md`. --- _sass/content.scss | 1 - docs/index-test.md | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_sass/content.scss b/_sass/content.scss index d430aaf8..219a0975 100644 --- a/_sass/content.scss +++ b/_sass/content.scss @@ -19,7 +19,6 @@ a { overflow: hidden; text-overflow: ellipsis; - white-space: nowrap; } ul, diff --git a/docs/index-test.md b/docs/index-test.md index 73b208b8..06aeffc8 100644 --- a/docs/index-test.md +++ b/docs/index-test.md @@ -69,6 +69,12 @@ end ###### [](#header-6)Header 6 +[This is a very long link which wraps and therefore doesn't overflow +even when it comes at the beginning](.) of the line. + +- [This is a very long link which wraps and therefore doesn't overflow the line + when used first in an item ](.) in a list. + | head1 | head two | three | |:-------------|:------------------|:------| | ok | good swedish fish | nice | -- GitLab