-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Review bar and "sticky" file header layout regression #26730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Height needs to be predictable for sticky to work, unless there is another solution but I'm not aware of. |
I am not working on it either, just open an issue for record. |
This was referenced Sep 28, 2023
Merged
lunny
pushed a commit
that referenced
this issue
Sep 28, 2023
Close #26730 1. The `diff-detail-box` was abused, it shouldn't be used for "DiffFileList/DiffFileTree". 2. Fix the sticky position for various screens.   
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Sep 28, 2023
Close go-gitea#26730 1. The `diff-detail-box` was abused, it shouldn't be used for "DiffFileList/DiffFileTree". 2. Fix the sticky position for various screens.   
lunny
pushed a commit
that referenced
this issue
Sep 28, 2023
Backport #27322 by @wxiaoguang Close #26730 1. The `diff-detail-box` was abused, it shouldn't be used for "DiffFileList/DiffFileTree". 2. Fix the sticky position for various screens.    Co-authored-by: wxiaoguang <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Due to #26711 (and other old PRs) , now the "sticky" file header doesn't work well with uncertain review bar height.
Before, the sticky top was hard-coded to 2 magic numbers, but the "review bar" has been changed many times and it uses "flex" layout, the height is not predictable.
The text was updated successfully, but these errors were encountered: