mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
Prevent overflow of long links and words
When a word (or any string withtout breakpoints (spaces, dashes....), making links the most common place where this becamoes an issue) is wider than its container, the text will simply overflow any container, including the viewport. This commit fixes this behaviour by making the word-drap strategy of the browser more aggresive.
This commit is contained in:
parent
651bfc5cd2
commit
f70128a3de
1 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,10 @@ article {
|
|||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
& p {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
}
|
||||
|
||||
.backlinks a {
|
||||
|
|
Loading…
Reference in a new issue