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 <mwolson@gnu.org>. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Petr Baudis committed
Aug 26, 2007 at 21:31 UTC
67aca456a3cfa9ab8420a6e171d8eee7b0ad2209
1 file changed
+1
-1
gitweb/gitweb.css
+1
-1
@@ -430,7 +430,7 @@ div.search {
430
font-size: 100%;
431
font-weight: normal;
432
margin: 4px 8px;
433
- position: absolute;
433
+ float: right;
434
top: 56px;
435
right: 12px
436
}