aboutsummaryrefslogtreecommitdiff
path: root/public/less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-07-14 16:50:49 -0400
committerUnknwon <u@gogs.io>2017-07-14 16:50:49 -0400
commitc970c4ee41bc98515ed37a92dfc7dbe125e213e1 (patch)
treee9ae7c8b98c360bb836b368c2175637e8fc10f80 /public/less
parent3a6623104f7725905e2b14582579abea1590cec3 (diff)
css: not include line numbers in diff selection (#4584)
Changed template file in order to make CSS work properly.
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_repository.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index efbfbbd5..ffa10508 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -1057,6 +1057,10 @@
padding: 0 5px;
user-select: none;
+ &::before {
+ content: attr(data-line-number);
+ }
+
&.lines-num-old, &.lines-num-new {
cursor: pointer;
&:hover {