You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind 9efcce563b
Fix sticky header in diff view (#23554)
Ressurection of #23549.

Fix regression https://github.com/go-gitea/gitea/pull/23513#issuecomment-1474356817 from #23271.
The previous sticky CSS did assume the content is always 2 rows, but since that PR, it's single-row above 993px width.
Adjust the sticky offset to match and add a small tweak that hides content behind the `border-radius`.

Single row:
<img width="1264" alt="Screenshot 2023-03-17 at 21 33 05"
src="https://user-images.githubusercontent.com/115237/226034050-a04b131d-fd3f-45c0-bc72-413738a59825.png">

Double row:
<img width="1243" alt="Screenshot 2023-03-17 at 21 32 53"
src="https://user-images.githubusercontent.com/115237/226034163-2f1c6aa9-fc72-432f-bc46-9a7119da8677.png">
1 year ago
..
chroma Replace Less with CSS (#23481) 1 year ago
code Fix some broken css (#23560) 1 year ago
codemirror Replace Less with CSS (#23481) 1 year ago
console Replace Less with CSS (#23481) 1 year ago
features Replace Less with CSS (#23481) 1 year ago
markup Replace Less with CSS (#23481) 1 year ago
modules Replace Less with CSS (#23481) 1 year ago
shared Replace Less with CSS (#23481) 1 year ago
standalone Replace Less with CSS (#23481) 1 year ago
themes Update mini-css-extract-plugin, remove postcss (#23520) 1 year ago
admin.css Replace Less with CSS (#23481) 1 year ago
animations.css Replace Less with CSS (#23481) 1 year ago
base.css Fix some broken css (#23560) 1 year ago
dashboard.css Replace Less with CSS (#23481) 1 year ago
editor.css Replace Less with CSS (#23481) 1 year ago
explore.css Fix long name ui issues and label ui issue (#23541) 1 year ago
font_i18n.css Replace Less with CSS (#23481) 1 year ago
form.css Fix long name ui issues and label ui issue (#23541) 1 year ago
helpers.css Fix review comment context menu clipped bug (#23523) 1 year ago
home.css Replace Less with CSS (#23481) 1 year ago
index.css Replace Less with CSS (#23481) 1 year ago
install.css Replace Less with CSS (#23481) 1 year ago
organization.css Replace Less with CSS (#23481) 1 year ago
package.css Replace Less with CSS (#23481) 1 year ago
repository.css Fix sticky header in diff view (#23554) 1 year ago
review.css Fix diff detail buttons wrapping, use tippy for review box (#23271) 1 year ago
runner.css Replace Less with CSS (#23481) 1 year ago
svg.css Replace Less with CSS (#23481) 1 year ago
tribute.css Replace Less with CSS (#23481) 1 year ago
user.css Fix long name ui issues and label ui issue (#23541) 1 year ago