Skip to content

Commit 417fe73

Browse files
committed
Scroll module list instead of breaking words
1 parent 3e8ba34 commit 417fe73

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

datafiles/static/hackage.css

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ table.properties td, table.properties th {
381381
* leave a narrow properties pane with space on the right. So we make the
382382
* left-pane take the space that the properties pane is not allotted.
383383
* That leaves no space on the right. */
384-
max-width: calc(60% - 2em);
384+
width: calc(60% - 2em);
385385
}
386386

387387
#flex-container {
@@ -845,19 +845,13 @@ ul.links li form button {
845845
padding-left: 1em;
846846
}
847847

848+
#module-list {
849+
overflow-x: auto;
850+
}
851+
848852
#module-list ul {
849853
list-style: none;
850854
margin: 0 0 0 20px;
851-
852-
/* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
853-
-ms-word-break: break-all;
854-
word-break: break-all;
855-
/* Non standard for webkit */
856-
word-break: break-word;
857-
-webkit-hyphens: auto;
858-
-moz-hyphens: auto;
859-
-ms-hyphens: auto;
860-
hyphens: auto;
861855
}
862856

863857
/* Disable identation for the top level modules */

0 commit comments

Comments
 (0)