1
0
mirror of https://github.com/snachodog/just-the-docs.git synced 2025-04-10 14:01:22 -06:00

Allow links to wrap ()

Fix .

- 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

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

@ -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 |