summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorpgodwin <pgodwin@gmail.com>2019-01-22 03:51:28 +1000
committertechknowlogick <hello@techknowlogick.com>2019-01-21 12:51:28 -0500
commit832bf218ec945ad07927e0620d4cbd5c671c56c3 (patch)
treeec587b64f61c1aa35760ed45cce5b311b58d0957 /public/less
parente1fcd6b7427d1e7c43ac9dcb32462a8e6d77c905 (diff)
downloadgitea-832bf218ec945ad07927e0620d4cbd5c671c56c3.tar.gz
gitea-832bf218ec945ad07927e0620d4cbd5c671c56c3.zip
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.
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_markdown.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/less/_markdown.less b/public/less/_markdown.less
index 458016d715..aafc66e6ab 100644
--- a/public/less/_markdown.less
+++ b/public/less/_markdown.less
@@ -248,6 +248,7 @@
overflow:auto;
word-break:normal;
word-break:keep-all;
+ display:block;
}
table th {