# HG changeset patch # User Paul Boddie # Date 1274628414 -7200 # Node ID fa7f79b9a6e42040f7ba12fe2a1847469b1d4e8d # Parent c633cb02e011a2735d818af3ef5d70695054476a Introduced navibar truncation to avoid problems on pages where the name makes the navibar too long. diff -r c633cb02e011 -r fa7f79b9a6e4 themes/mercurialwiki/css/screen.css --- a/themes/mercurialwiki/css/screen.css Sun May 23 16:39:50 2010 +0200 +++ b/themes/mercurialwiki/css/screen.css Sun May 23 17:26:54 2010 +0200 @@ -67,6 +67,15 @@ margin: 17px 0 0 0; padding: 0; background: #999; + white-space: nowrap; +} + +#navibar { + + /* NOTE: Using a fairly arbitrary size to allow the truncation of the menu. */ + + max-width: 50%; + overflow: hidden; } #navibar li, .editbar li { @@ -127,7 +136,6 @@ } #searchform { - float: right; /* Margin and padding correspond to the navibar settings. */