diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2021-06-27 16:36:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-27 15:36:49 +0100 |
commit | eee03ae90a17242b481677a2f575e18e449de683 (patch) | |
tree | ec6fe23f7664c9d5131fedae32fd526c43c8e016 /web_src/less | |
parent | f533b5d5cf5178adf7f8f968cd7ded45c00ad9e6 (diff) | |
download | gitea-eee03ae90a17242b481677a2f575e18e449de683.tar.gz gitea-eee03ae90a17242b481677a2f575e18e449de683.zip |
Add scroll-margin-top to account for sticky header (#16269)
Fixes #16263
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_review.less | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less index 9197050913..2b15eec82d 100644 --- a/web_src/less/_review.less +++ b/web_src/less/_review.less @@ -173,3 +173,11 @@ a.blob-excerpt:hover { .review-box > .segment { border: none !important; } + +.pull.files.diff [id] { + scroll-margin-top: 99px; + + @media @mediaMdAndDown { + scroll-margin-top: 130px; + } +} |