From: Petr Baudis Date: Sun, 26 Aug 2007 19:31:32 +0000 (+0200) Subject: gitweb: Fix searchbox positioning X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/47c82ca1624c803e5e784d043553434c7f73f798adbad0a960e7954ea110a702 gitweb: Fix searchbox positioning Currently, searchbox is CSS'd to have position: absolute, which has the unfortunate consequence that if the viewport is too small and can't fit into the page width together with the navbar, it gets overlapped and part of the navbar gets obscured. This makes searchbox float: right instead, thus the navbar simply gets wrapped. Discovered and fix pointed out by Michael Olson . Signed-off-by: Petr Baudis Signed-off-by: Junio C Hamano --- diff --git a/gitweb.css b/gitweb.css index 82fc262..2676af7 100644 --- a/gitweb.css +++ b/gitweb.css @@ -430,7 +430,7 @@ div.search { font-size: 100%; font-weight: normal; margin: 4px 8px; - position: absolute; + float: right; top: 56px; right: 12px }