diff options
author | Kuuuube <61125188+Kuuuube@users.noreply.github.com> | 2024-03-02 23:48:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-03 04:48:01 +0000 |
commit | f162884b4cbfa5adf4a4e3dbbbad0d635fb5d603 (patch) | |
tree | c22b05b6c4b28c822162b8531da6d797912ce1f6 /ext | |
parent | 202949cf765cec4175aeb1b5b667dedcc0e9ba6f (diff) |
Fix entry selection arrow padding in search (#754)
* Fix entry selection arrow padding in search
* Realign search-textbox and search-options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/css/search.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/css/search.css b/ext/css/search.css index 521008eb..77766885 100644 --- a/ext/css/search.css +++ b/ext/css/search.css @@ -18,6 +18,7 @@ /* Variables */ :root { + --main-content-horizontal-padding: 0.72em; --entry-horizontal-padding: 0; --padding: calc(10em / var(--font-size-no-units)); @@ -86,7 +87,7 @@ h1 { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; white-space: pre-wrap; z-index: 1; - margin: 0; + margin: 0 calc(-1 * var(--main-content-horizontal-padding)); } .search-button { flex: 0 0 auto; @@ -131,7 +132,7 @@ h1 { .search-options { display: flex; flex-flow: row wrap; - margin: 0.5em 0; + margin: 0.5em calc(-1 * var(--main-content-horizontal-padding)); align-items: center; } .search-option { |