From c48658836031e94ff2b2b02436dcdf22d22e2512 Mon Sep 17 00:00:00 2001 From: evykassirer Date: Tue, 23 May 2023 12:41:34 -0700 Subject: [PATCH] search: Make search box bottom border visible again. The nav bar's bottom border was being hidden by the search bar. This makes the search bar slightly less high to fix this issue. Soon this code will be replaced with the changes in #24345. --- web/styles/search.css | 2 +- web/styles/zulip.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/web/styles/search.css b/web/styles/search.css index a0eadae079..80384ed79b 100644 --- a/web/styles/search.css +++ b/web/styles/search.css @@ -65,7 +65,7 @@ #search_query { width: 100%; font-size: 16px; - height: var(--header-height); + height: calc(var(--header-height) - 1px); padding: 0; padding-left: 5px; padding-right: 40px; diff --git a/web/styles/zulip.css b/web/styles/zulip.css index 0ab583006c..5afe8010b1 100644 --- a/web/styles/zulip.css +++ b/web/styles/zulip.css @@ -2948,6 +2948,10 @@ select.invite-as { height: var(--header-height); } + #searchbox_form { + height: calc(var(--header-height) - 1px); + } + .spectator_narrow_login_button { height: var(--header-height) !important; }