about summary refs log tree commit diff
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-05-03 12:44:20 +0200
committerLars Hjemli <hjemli@gmail.com>2008-05-04 17:30:02 +0200
commit17890d0058c1555133c8767ceb123e809e6971ab (patch)
treee20eac18444fd75f6e25f03b6622245ca848d0d6 /cgit.c
parentAdd footer with page creation time and cgit version on all pages (diff)
downloadcgit-pink-17890d0058c1555133c8767ceb123e809e6971ab.tar.gz
cgit-pink-17890d0058c1555133c8767ceb123e809e6971ab.zip
Add link to index page from repo header, remove page name
This makes it more obvious how to get back to the index, especially when the
config option `logo-link` is used. And the page name displayed in the header
provided no extra information. It only consumed space and deserved to die.

While at it, make sure that the different parts of the header doesn't wrap
when horizontal space is limited.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgit.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index fac5f85..a37d218 100644
--- a/cgit.css
+++ b/cgit.css
@@ -36,6 +36,7 @@ table#header td.logo {
 table#header td.main {
 	font-size: 250%;
 	padding-left: 10px;
+	white-space: nowrap;
 }
 
 table#header td.main a {
@@ -47,6 +48,7 @@ table#header td.form {
 	vertical-align: bottom;
 	padding-right: 1em;
 	padding-bottom: 2px;
+	white-space: nowrap;
 }
 
 table#header td.form form,
@@ -92,6 +94,7 @@ table.tabs td.form {
 table.tabs td.form form {
 	padding-bottom: 2px;
 	font-size: 90%;
+	white-space: nowrap;
 }
 
 table.tabs td.form input,