patx/gitman
Align desktop repository search dropdown width with its input
Commit 0c60339 · patx · Nov 4 at 10:40PM
Comments
No comments yet.
Diff
diff --git a/static/styles.css b/static/styles.css
index 060ea73..813dcec 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -672,6 +672,7 @@ th { color: var(--ink); font-weight: 700; }
.button.primary:hover, .button.primary:active { background: var(--press); color: var(--page-bg); }
.header-repo-search { align-self: center; width: min(24rem, 40vw); margin-left: auto; }
.header-repo-search .repo-search-input { width: 100%; padding-block: 10px; }
+.header-repo-search .repo-search-menu { left: 0; right: auto; width: 100%; max-width: none; }
.search-toggle { display: none; }
.search-toggle, .mobile-search-close { padding: 0; min-height: 40px; background: transparent; }
.search-toggle:hover, .mobile-search-close:hover { background: var(--chip); color: var(--ink); }
diff --git a/templates/base.tpl b/templates/base.tpl
index 9347e4b..abace2c 100644
--- a/templates/base.tpl
+++ b/templates/base.tpl
@@ -20,7 +20,7 @@
% if not get('landing', False) and theme != 'light':
<link rel="stylesheet" href="/static/vendor/highlight.js/github-dark.min.css"{{!' media="(prefers-color-scheme: dark)"' if theme == 'auto' else ''}}>
% end
- <link rel="stylesheet" href="/static/styles.css?v=25">
+ <link rel="stylesheet" href="/static/styles.css?v=26">
</head>
<body class="{{'landing-page' if get('landing', False) else ''}}">
% if not get("landing", False):