summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 67c10b4)
raw | patch | inline | side by side (parent: 67c10b4)
author | Petr Baudis <pasky@suse.cz> | |
Sun, 26 Aug 2007 19:31:32 +0000 (21:31 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 26 Aug 2007 20:22:40 +0000 (13:22 -0700) |
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>
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>
gitweb/gitweb.css | patch | blob | history |
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 096313bec0a3f39596fda96d2f968181a7b7cd84..1b8887987fc0888db6e7548e9561745efee790d8 100644 (file)
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
font-size: 100%;
font-weight: normal;
margin: 4px 8px;
- position: absolute;
+ float: right;
top: 56px;
right: 12px
}