mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Fix overflow-x on <main>
This commit is contained in:
parent
cc919f2f91
commit
e9e90ad7ce
1 changed files with 2 additions and 1 deletions
|
@ -180,6 +180,7 @@ main {
|
||||||
max-width: 740px;
|
max-width: 740px;
|
||||||
/* necessary for text-overflow: ellipsis to work in descendants */
|
/* necessary for text-overflow: ellipsis to work in descendants */
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
overflow-x: auto;
|
||||||
/* fixes issues with horizonatal scroll in cases where word is too long,
|
/* 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 */
|
like in one of the examples at https://www.roc-lang.org/builtins/Num#Dec */
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
@ -707,7 +708,7 @@ pre>samp {
|
||||||
grid-row-end: above-footer;
|
grid-row-end: above-footer;
|
||||||
padding: 18px;
|
padding: 18px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
max-width: none;
|
max-width: 480px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar-nav {
|
#sidebar-nav {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue