1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-26 12:18:36 +00:00

Scroll collapsed file into view (#23702)

This commit is contained in:
Jimmy Praet
2023-04-05 01:51:42 +02:00
committed by GitHub
parent 0983b237d5
commit 54197b67f9
3 changed files with 12 additions and 2 deletions

View File

@@ -246,12 +246,12 @@ a.blob-excerpt:hover {
display: none;
}
.pull.files.diff [id] {
.pull.files.diff .comment {
scroll-margin-top: 99px;
}
@media (max-width: 991px) {
.pull.files.diff [id] {
.pull.files.diff .comment {
scroll-margin-top: 130px;
}
}