mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Fixed wrapping for long words to avoid horizontal scroll
This commit is contained in:
parent
a56d7adc17
commit
1620fb54c2
1 changed files with 3 additions and 0 deletions
|
@ -177,6 +177,9 @@ main {
|
|||
max-width: 740px;
|
||||
/* necessary for text-overflow: ellipsis to work in descendants */
|
||||
min-width: 0;
|
||||
/* fixes issues with horizonatal scroll in cases where word is too long,
|
||||
like in one of the examples at https://www.roc-lang.org/builtins/Num#Dec */
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Module links on the package index page (/index.html) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue