0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-19 21:02:34 -05:00
forgejo/web_src/css
Giteabot df74ee0376
Scroll collapsed file into view (#23702) (#23929)
Backport #23702 by @jpraet

Fixes #23701, #23515.

Alternate approach to #23604 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
..
chroma
code Fix some broken css (#23560) (#23567) 2023-03-18 21:37:16 -04:00
codemirror
console
features
markup
modules
shared
standalone
themes CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
admin.css
animations.css
base.css CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
dashboard.css
editor.css
explore.css
font_i18n.css
form.css CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
helpers.css Fix review comment context menu clipped bug (#23523) (#23543) 2023-03-17 14:00:17 -04:00
home.css
index.css
install.css
organization.css Org pages style fixes (#23901) (#23914) 2023-04-04 19:05:41 +08:00
package.css
repository.css Scroll collapsed file into view (#23702) (#23929) 2023-04-05 13:49:22 +03:00
review.css Scroll collapsed file into view (#23702) (#23929) 2023-04-05 13:49:22 +03:00
runner.css
svg.css
tribute.css
user.css Fix user profile description rendering (#23882) (#23902) 2023-04-03 16:00:24 -05:00