Tweak actions view sticky (#29781)

Add some space when the left side items are sticky due to scrolling the
right side.

<img width="419" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/292e1b03-a071-4744-bb79-e50d109056c8">

(cherry picked from commit eb8c34fc367f324226625d39d0487f945269cd73)
This commit is contained in:
silverwind 2024-03-14 05:30:10 +01:00 committed by Earl Warren
parent d413a8fcac
commit 4069429114
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -533,7 +533,7 @@ export function initRepositoryActionView() {
width: 30%; width: 30%;
max-width: 400px; max-width: 400px;
position: sticky; position: sticky;
top: 0; top: 12px;
max-height: 100vh; max-height: 100vh;
overflow-y: auto; overflow-y: auto;
} }