mirror of
1
Fork 0
forgejo/web_src
Giteabot df74ee0376
Scroll collapsed file into view () ()
Backport  by @jpraet

Fixes , .

Alternate approach to  using CSS scroll-margin-top, which is also
taken into account for direct links to files in a diff:

* On the PR diff, this currently shows the previous file first:
https://try.gitea.io/jpraet/test/pulls/13/files#diff-b94d08b409f9d05fb65b6cccaf7b3e4ecc7cc333
* On the commit diff, the first line of the linked file is currently
under the sticky header:
1a19e6b14e (diff-b94d08b409f9d05fb65b6cccaf7b3e4ecc7cc333)

Co-authored-by: Jimmy Praet <jimmy.praet@ksz-bcss.fgov.be>
2023-04-05 13:49:22 +03:00
..
css Scroll collapsed file into view () () 2023-04-05 13:49:22 +03:00
fomantic Fix Fomantic UI's `touchstart` fastclick, always use `click` for click events () () 2023-02-28 17:53:45 -05:00
js Scroll collapsed file into view () () 2023-04-05 13:49:22 +03:00
less Replace Less with CSS () 2023-03-16 21:04:39 -04:00
svg Add Chef package registry () 2023-02-06 09:49:21 +08:00