]> source.dussan.org Git - gitea.git/commitdiff
Tweak actions view sticky (#29781)
authorsilverwind <me@silverwind.io>
Thu, 14 Mar 2024 04:30:10 +0000 (05:30 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Mar 2024 04:30:10 +0000 (04:30 +0000)
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">

web_src/js/components/RepoActionView.vue

index 96414315080e0d9972ec985852f43151178d0f90..484a3677c54d75f70bb50b0c0970880b9dc7bded 100644 (file)
@@ -524,7 +524,7 @@ export function initRepositoryActionView() {
   width: 30%;
   max-width: 400px;
   position: sticky;
-  top: 0;
+  top: 12px;
   max-height: 100vh;
   overflow-y: auto;
 }