mirror of
https://github.com/go-gitea/gitea
synced 2024-11-10 20:11:19 +01:00
Backport #31307 by silverwind Line numbers were using some hacky CSS `width: 1%` that did nothing to the code rendering as far as I can tell but broken the inline preview in markup when line numbers are greater than 2 digits. Also I removed one duplicate `font-family` rule (it is set below in the `.lines-num, .lines-code` selector. Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
abc92df701
commit
c1c11aaf60
1 changed files with 0 additions and 2 deletions
|
@ -1005,8 +1005,6 @@ overflow-menu .ui.label {
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
text-align: right !important;
|
text-align: right !important;
|
||||||
color: var(--color-text-light-2);
|
color: var(--color-text-light-2);
|
||||||
width: 1%;
|
|
||||||
font-family: var(--fonts-monospace);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.lines-num span.bottom-line::after {
|
.lines-num span.bottom-line::after {
|
||||||
|
|
Loading…
Reference in a new issue