1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/web_src/css
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">
2023-03-18 18:51:00 -04:00
..
chroma
code Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
codemirror
console
features
markup
modules
shared
standalone
themes Update mini-css-extract-plugin, remove postcss (#23520) 2023-03-16 15:06:53 -04:00
admin.css
animations.css
base.css Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
dashboard.css
editor.css
explore.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00
font_i18n.css
form.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00
helpers.css Fix review comment context menu clipped bug (#23523) 2023-03-16 14:25:04 -04:00
home.css
index.css
install.css
organization.css
package.css
repository.css Fix sticky header in diff view (#23554) 2023-03-18 18:51:00 -04:00
review.css Fix diff detail buttons wrapping, use tippy for review box (#23271) 2023-03-17 12:24:00 -05:00
runner.css
svg.css
tribute.css
user.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00