mirror of
https://github.com/go-gitea/gitea
synced 2025-03-09 20:24:28 +00:00
Highlight focused diff file (#22870)
When a diff file has been focused through the URL ID fragment, it will be highlighted.   --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
49919c636e
commit
ffa89945d1
@ -317,3 +317,11 @@ a.blob-excerpt:hover {
|
||||
width: 72px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.diff-file-box {
|
||||
border-radius: .285rem; // Just like ui.top.attached.header
|
||||
}
|
||||
|
||||
.diff-file-box:target {
|
||||
box-shadow: 0 0 0 3px var(--color-accent);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user