gitea/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 Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
code Fix some broken css (#23560) (#23567) 2023-03-18 21:37:16 -04:00
codemirror Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
console Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
features Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
markup Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
modules Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
shared Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
standalone Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
themes CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
admin.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
animations.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
base.css CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
dashboard.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
editor.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
explore.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
font_i18n.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
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 Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
index.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
install.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
organization.css Org pages style fixes (#23901) (#23914) 2023-04-04 19:05:41 +08:00
package.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
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 Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
svg.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
tribute.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
user.css Fix user profile description rendering (#23882) (#23902) 2023-04-03 16:00:24 -05:00