Fixed wrapping for long words to avoid horizontal scroll

This commit is contained in:
andreystepanov 2023-12-01 13:22:32 +02:00
parent a56d7adc17
commit 1620fb54c2
No known key found for this signature in database
GPG key ID: 5C9CB7B2CC6DCA46

View file

@ -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) */