patx/gitman

Added a bit more breathing room in static/styles.css:117: the dropdown sits slightly farther below the search input, has more internal padding, and each result row has a little more vertical padding/gap.

Commit 257152c · patx · 2026-05-05T17:14:10-04:00

Changeset
257152c25857879b818bfa71caa3d698a7470445
Parents
0c2e9fe3bf3ac32b714c3f53d80c59ef864c4c21

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/static/styles.css b/static/styles.css
index c57a554..d7ac7f4 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -117,16 +117,16 @@ button, .button {
 .repo-search-menu {
   display: flex;
   flex-direction: column;
-  gap: .05rem;
+  gap: .2rem;
   position: absolute;
   right: 0;
-  top: calc(100% + .4rem);
+  top: calc(100% + .55rem);
   z-index: 25;
   width: 20rem;
   max-width: calc(100vw - 2rem);
   max-height: 20rem;
   overflow-y: auto;
-  padding: .25rem;
+  padding: .45rem;
   border: 1px solid var(--menu-border);
   background: var(--surface);
   box-shadow: 0 .4rem 1.2rem var(--shadow);
@@ -140,7 +140,7 @@ button, .button {
   gap: .75rem;
   align-items: baseline;
   width: 100%;
-  padding: .3rem .4rem;
+  padding: .4rem .5rem;
   color: var(--text);
   text-decoration: none;
 }