0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-03 23:22:39 +02:00

Align escape warning button with code lines

Add .lines-escape to shared .lines-num/.lines-code rule so it gets the
same font-size, line-height, and vertical-align. Add horizontal padding
to the warning emoji pseudo-element.

Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
This commit is contained in:
silverwind 2026-04-02 21:39:38 +02:00
parent 1e96a85f1b
commit 846cedbfc1
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
2 changed files with 2 additions and 0 deletions

View File

@ -686,6 +686,7 @@ overflow-menu .ui.label {
}
.lines-num,
.lines-escape,
.lines-code {
font-size: 12px;
font-family: var(--fonts-monospace);

View File

@ -19,6 +19,7 @@
visibility: visible;
content: "⚠️";
font-family: var(--fonts-emoji);
padding: 0 2px;
color: var(--color-red);
}