Skip to content

Commit 41099e4

Browse files
committed
remove table overflow behavior (since it breaks borders)
1 parent 7580bfb commit 41099e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/css/doc.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,14 @@
187187
margin: 2rem 0;
188188
/* enable table-layout: fixed if you want the table width to be enforced strictly */
189189
/* alternative is to wrap table in div and set overflow-x: auto on the wrapper */
190+
/* another alternative is to set overflow-x: auto and display: block on table (but this breaks table borders) */
190191
/* table-layout: fixed; */
191192
word-wrap: normal; /* don't do arbitrary word breaking */
193+
/*
192194
display: block;
193195
overflow-x: auto;
194196
max-width: 100%;
197+
*/
195198
}
196199

197200
.doc table.tableblock th,

0 commit comments

Comments
 (0)