Skip to content

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

Closed
wxiaoguang opened this issue Aug 25, 2023 · 2 comments · Fixed by #27322
Closed

Review bar and "sticky" file header layout regression #26730

wxiaoguang opened this issue Aug 25, 2023 · 2 comments · Fixed by #27322
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Aug 25, 2023

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.

@wxiaoguang wxiaoguang added type/bug topic/ui Change the appearance of the Gitea UI labels Aug 25, 2023
@wxiaoguang wxiaoguang added this to the 1.21.0 milestone Aug 25, 2023
@silverwind
Copy link
Member

Height needs to be predictable for sticky to work, unless there is another solution but I'm not aware of.

@wxiaoguang
Copy link
Contributor Author

I am not working on it either, just open an issue for record.

@wxiaoguang wxiaoguang removed this from the 1.21.0 milestone Sep 20, 2023
This was referenced Sep 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants