{"thread":{"id":"9658","subject":"[PATCH] gitweb: Fix searchbox positioning","startedAt":"2007-08-26T19:31:32Z","lastAt":"2007-08-26T19:31:32Z","messageCount":1,"participants":["Petr Baudis"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"51582","messageId":"20070826193131.27412.66843.stgit@rover","threadId":"9658","inReplyTo":null,"subject":"[PATCH] gitweb: Fix searchbox positioning","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2007-08-26T19:31:32Z","receivedAt":"2007-08-26T19:31:32Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Currently, searchbox is CSS'd to have position: absolute, which has the\nunfortunate consequence that if the viewport is too small and can't fit\ninto the page width together with the navbar, it gets overlapped and part\nof the navbar gets obscured. This makes searchbox float: right instead,\nthus the navbar simply gets wrapped.\n\nDiscovered and fix pointed out by Michael Olson <mwolson@gnu.org>.\n\nSigned-off-by: Petr Baudis <pasky@suse.cz>\n---\n\n gitweb/gitweb.css |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/gitweb/gitweb.css b/gitweb/gitweb.css\nindex 4e93a1a..f3a468e 100644\n--- a/gitweb/gitweb.css\n+++ b/gitweb/gitweb.css\n@@ -430,7 +430,7 @@ div.search {\n \tfont-size: 100%;\n \tfont-weight: normal;\n \tmargin: 4px 8px;\n-\tposition: absolute;\n+\tfloat: right;\n \ttop: 56px;\n \tright: 12px\n }\n"}]}