Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search_box: Specify consistent, veritable height.
Karl Stolley9716ad9e84c6
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex dcb3a003030..bd759ab34fa 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -179,16 +179,22 @@/*Height of the search box, which appears in the header.- On very short screens, the search box's height becomes- the height of its parent (i.e. the header height).*/- --search-box-height: 28px;+ --search-box-height: 32px;--search-box-width: 150px;@media (width < $md_min) {--search-box-width: 40px;}+ /*+ On very short screens, the search box's height becomes+ is reduced to fit the available space.+ */+ @media (height < $short_navbar_cutoff_height) {+ --search-box-height: 28px;+ }+/*Since #navbar_alerts_wrapper can take variable height depending uponwindow width / language, we sync its height in navbar_alerts.jsdiff --git a/web/styles/search.css b/web/styles/search.cssindex f20ed5f22f9..458bc7b99a8 100644--- a/web/styles/search.css+++ b/web/styles/search.css@@ -212,12 +212,8 @@background-color: var(--color-background-search);/* Maintain only a column gap. */gap: 0 5px;-- @media (height < $short_navbar_cutoff_height) {- /* Lose the luxury of padding in short navbar settings. */- padding-top: 0;- padding-bottom: 0;- }+ /* Override padding. */+ padding: 0;}.pill {