All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gitweb: Fix searchbox positioning
@ 2007-08-26 19:31 Petr Baudis
  0 siblings, 0 replies; only message in thread
From: Petr Baudis @ 2007-08-26 19:31 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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>
---

 gitweb/gitweb.css |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 4e93a1a..f3a468e 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
 }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-26 19:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-26 19:31 [PATCH] gitweb: Fix searchbox positioning Petr Baudis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.