Sticky header for pulls/issues #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I always apply the following CSS to Forgejo instances. Perhaps it's an idea to put it into this theme.
Goal
If you get back to a tab, it's not immediately clear what issue or PR you're viewing when you're scrolled down a bit.
This adjustment will make the header of the issue/pull sticky, so you'll always be able to see where you are right away.
Code
Remarks
scroll-padding-topis only applied when viewing isues or PRsScreenshot
Issues
Looks pretty good. What does
scroll-padding-topdo? I've never used it before and removing it doesn't seem to make a difference.If you open an issue from the notifications, it scrolls to the new reply. Without that bit of CSS, part the new reply will be directly underneath the sticky header. With it, the scroll position will be compensated for the sticky header.