diff options
author | Andrew Boyarshin <andrew.boyarshin@gmail.com> | 2017-02-20 10:13:20 +0700 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-20 11:13:20 +0800 |
commit | d4b752def9d46995720526c1757456948df2a790 (patch) | |
tree | e65557940f2f9cec81fee0ddda1f5c02c0a29ba4 | |
parent | c2c27891c9898c81f432b78292302a4f51aec514 (diff) | |
download | gitea-d4b752def9d46995720526c1757456948df2a790.tar.gz gitea-d4b752def9d46995720526c1757456948df2a790.zip |
Fix table headers (#980)
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
-rw-r--r-- | public/css/index.css | 3 | ||||
-rw-r--r-- | public/less/_markdown.less | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/public/css/index.css b/public/css/index.css index 85101faba9..34764b6894 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -630,8 +630,7 @@ footer .ui.language .menu { margin-bottom: 0; } .markdown:not(code) table { - display: block; - width: 100%; + width: auto; overflow: auto; word-break: normal; word-break: keep-all; diff --git a/public/less/_markdown.less b/public/less/_markdown.less index e4b452b95c..3266d5bdca 100644 --- a/public/less/_markdown.less +++ b/public/less/_markdown.less @@ -240,8 +240,7 @@ } table { - display:block; - width:100%; + width:auto; overflow:auto; word-break:normal; word-break:keep-all; |