Skip to content

Commit 70995a4

Browse files
committed
Set default overflow wrap behavior to avoid overflow on mobile
1 parent d6573b3 commit 70995a4

File tree

1 file changed

+1
-1
lines changed
  • lib/rdoc/generator/template/aliki/css

1 file changed

+1
-1
lines changed

lib/rdoc/generator/template/aliki/css/rdoc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ body {
231231
color: var(--text-color);
232232
line-height: var(--line-height-relaxed);
233233
margin: 0;
234+
overflow-wrap: break-word; /* Avoid overflow on mobile */
234235

235236
/* Grid layout with header, sidebar, main, and footer */
236237
display: grid;
@@ -1292,7 +1293,6 @@ aside.table-of-contents * {
12921293
transition: color var(--transition-fast);
12931294
line-height: var(--line-height-relaxed);
12941295
word-wrap: break-word;
1295-
overflow-wrap: break-word;
12961296
hyphens: auto;
12971297
}
12981298

0 commit comments

Comments
 (0)