summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2021-09-19 00:59:21 +0700
committerGitHub <noreply@github.com>2021-09-18 18:59:21 +0100
commitea207f694d1985423ac0ee9ed2f975a59af7fc14 (patch)
treed4b03154bbdc417078ab92814571d8a12cc80167 /web_src
parentd04e581f09befcc309598da4f3dda01c7b965f0e (diff)
downloadgitea-ea207f694d1985423ac0ee9ed2f975a59af7fc14.tar.gz
gitea-ea207f694d1985423ac0ee9ed2f975a59af7fc14.zip
Add left padding for chunk header of split diff view (#13397)
This commit adds 10px padding-left on chunk header element (which is `<span>`). Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index a58fe3698d..b52045dae1 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -1711,6 +1711,10 @@
}
.code-diff-split {
+ .tag-code .lines-code code.code-inner {
+ padding-left: 10px !important;
+ }
+
table,
tbody {
width: 100%;