Fix diff tree height and adjust target file style (#23616)

Extract from https://github.com/go-gitea/gitea/pull/23553, just the
parts that fix the diff tree height and the change to the file `:target`
style.

Fixes: https://github.com/go-gitea/gitea/issues/23593
This commit is contained in:
silverwind
2023-03-22 21:32:27 +01:00
committed by GitHub
parent 774b37b9f8
commit 622d21691c
2 changed files with 26 additions and 14 deletions

View File

@@ -308,11 +308,3 @@ a.blob-excerpt:hover {
width: 72px;
height: 10px;
}
.diff-file-box {
border-radius: 0.285rem; /* Just like ui.top.attached.header */
}
.diff-file-box:target {
box-shadow: 0 0 0 3px var(--color-accent);
}