Skip to content

Commit 832bf21

Browse files
pgodwintechknowlogick
authored andcommitted
Allow markdown table to scroll (#4401)
* Allow markdown table to scroll `overflow:auto` isn't effective when a table is wider than the container. Adding `display:block` fixes this issue.
1 parent e1fcd6b commit 832bf21

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_markdown.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
overflow:auto;
249249
word-break:normal;
250250
word-break:keep-all;
251+
display:block;
251252
}
252253

253254
table th {

0 commit comments

Comments
 (0)