From f162884b4cbfa5adf4a4e3dbbbad0d635fb5d603 Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Sat, 2 Mar 2024 23:48:01 -0500 Subject: Fix entry selection arrow padding in search (#754) * Fix entry selection arrow padding in search * Realign search-textbox and search-options --- ext/css/search.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/css') 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 { -- cgit v1.2.3