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`.
This commit is contained in:
Peter Mosses 2022-08-01 07:14:03 +02:00 committed by GitHub
parent b2581c19a6
commit 3c14eeef2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,6 @@
a { a {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
} }
ul, ul,

View File

@ -69,6 +69,12 @@ end
###### [](#header-6)Header 6 ###### [](#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 | | head1 | head two | three |
|:-------------|:------------------|:------| |:-------------|:------------------|:------|
| ok | good swedish fish | nice | | ok | good swedish fish | nice |