diff options
author | Alexander Scheel <alexander.m.scheel@gmail.com> | 2020-03-25 09:33:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 13:33:03 +0000 |
commit | 61830ace0b0d644060e19c695b73df947691f24c (patch) | |
tree | bbe8f58f0ef146672d6828ce4da8f535d386dfd6 | |
parent | 311ed516cef678797df01311a638d1afcadf6d63 (diff) | |
download | gitea-61830ace0b0d644060e19c695b73df947691f24c.tar.gz gitea-61830ace0b0d644060e19c695b73df947691f24c.zip |
Fix tab indentation in code view (#10671)
Resolves: #5596
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r-- | web_src/less/_base.less | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index a1840cf869..fcb6a41400 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1077,11 +1077,8 @@ i.icon.centerlock { li { display: block; - width: 100%; - - &:before { - content: ' '; - } + width: calc(100% - 1ch); + margin-left: 1ch; } } } |