提交 67aca456 编写于 作者: P Petr Baudis 提交者: Junio C Hamano

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: NPetr Baudis <pasky@suse.cz>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 67c10b42
......@@ -430,7 +430,7 @@ div.search {
font-size: 100%;
font-weight: normal;
margin: 4px 8px;
position: absolute;
float: right;
top: 56px;
right: 12px
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册