aboutsummaryrefslogtreecommitdiff
path: root/ext/css/search.css
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-06-22 00:37:48 -0400
committerGitHub <noreply@github.com>2024-06-22 04:37:48 +0000
commit079603c1f65ac2eb85861ad8d8fd10b6db315e11 (patch)
tree0f5ff21f7676fe9ec8a8e200999128b5a894649e /ext/css/search.css
parent6d890b798113c9a08670f20303c6fc8de4dc4677 (diff)
Fix firefox search button 1px off of search textbox (#1115)
Diffstat (limited to 'ext/css/search.css')
-rw-r--r--ext/css/search.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/css/search.css b/ext/css/search.css
index 908f1975..808a7045 100644
--- a/ext/css/search.css
+++ b/ext/css/search.css
@@ -63,7 +63,7 @@ h1 {
display: flex;
flex-flow: row nowrap;
width: 100%;
- align-items: stretch;
+ align-items: center;
margin: 0;
padding: 0;
border: 0;
@@ -92,6 +92,9 @@ h1 {
flex: 0 0 auto;
position: relative;
width: 2.5em;
+ height: calc(var(--textarea-line-height) + var(--textarea-padding) * 2);
+ min-height: calc(var(--textarea-line-height) + var(--textarea-padding) * 2);
+ max-height: calc(var(--textarea-line-height) * 10 + var(--textarea-padding) * 2);
background-color: var(--input-background-color);
border: 0;
padding: 0;