diff options
author | silverwind <me@silverwind.io> | 2017-06-10 17:20:25 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-10 23:20:25 +0800 |
commit | f2fcd9dcd834b611d2f321829e814a741054c4ea (patch) | |
tree | bf1cb86de7ea1c4a1b938a2b98ef7b36cc46b959 /public/css | |
parent | 446a41d595c2a3477aa55b8e78e625bcdff42eb6 (diff) | |
download | gitea-f2fcd9dcd834b611d2f321829e814a741054c4ea.tar.gz gitea-f2fcd9dcd834b611d2f321829e814a741054c4ea.zip |
Support CRLF when splitting code lines for display (#1862)
* Support CRLF when splitting code lines for display
* refactor, fix mixed match
* fmt
* split on both LF and CRLF, use raw literals in regexes
* simplify
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/index.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/css/index.css b/public/css/index.css index 0d6112a168..35e56413b1 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -1435,7 +1435,7 @@ footer .ui.language .menu { .repository.file.list #file-content .code-view .lines-code ol li, .repository.file.list #file-content .code-view .lines-num .hljs li, .repository.file.list #file-content .code-view .lines-code .hljs li { - display: inline-block; + display: block; width: 100%; } .repository.file.list #file-content .code-view .lines-num pre li.active, |