diff options
author | Petr Baudis <pasky@suse.cz> | 2007-08-26 19:31:32 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-08-26 20:22:40 (GMT) |
commit | 67aca456a3cfa9ab8420a6e171d8eee7b0ad2209 (patch) | |
tree | 87aa984ecb655bd544c362e449e1091ae8945156 | |
parent | 67c10b422c179b9ce2e4537f7c2a1e7d50649cd4 (diff) | |
download | git-67aca456a3cfa9ab8420a6e171d8eee7b0ad2209.zip git-67aca456a3cfa9ab8420a6e171d8eee7b0ad2209.tar.gz git-67aca456a3cfa9ab8420a6e171d8eee7b0ad2209.tar.bz2 |
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>
-rw-r--r-- | gitweb/gitweb.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css index 096313b..1b88879 100644 --- a/gitweb/gitweb.css +++ b/gitweb/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 } |