mirror of
https://github.com/go-gitea/gitea
synced 2025-08-01 23:28:36 +00: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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user