mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
UI: fix block selection on code for empty line are not highlighted
This commit is contained in:
@@ -277,8 +277,6 @@
|
||||
.lines-num,
|
||||
.lines-code {
|
||||
padding: 0;
|
||||
|
||||
|
||||
pre,
|
||||
ol,
|
||||
.hljs {
|
||||
@@ -286,12 +284,14 @@
|
||||
margin: 0;
|
||||
padding: 0 !important;
|
||||
li {
|
||||
padding-left: 5px;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
&.active {
|
||||
background: #ffffdd;
|
||||
}
|
||||
&:before {
|
||||
content: ' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user