1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-09 20:05:22 +02:00

Move line number to :before attr to hide from search on browser (#8002)

* Move line number to :before attr to hide from search on browser

* Use same variable in WriteString

Co-Authored-By: Lauris BH <lauris@nix.lv>
This commit is contained in:
jaqra 2019-08-28 01:59:05 +03:00 committed by Antoine GIRARD
parent a45909be90
commit 245457d4d3
3 changed files with 9 additions and 6 deletions

View file

@ -920,10 +920,13 @@ footer {
user-select: none;
span {
line-height: 20px !important;
padding: 0 10px;
cursor: pointer;
display: block;
&:before {
content: attr(data-line-number);
line-height: 20px !important;
padding: 0 10px;
cursor: pointer;
display: block;
}
}
}