ctucx.git: stagit

ctucx' stagit fork

commit 6a427c75fcaab57d029222d3afb26c27b9629ae5
parent 264aef81d5f5eeb39c194142a73cdfe84c6aeddb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 6 Jan 2016 18:33:24 +0100

style.css: wrap description text, nowrap for rest

vertical align to the top of the cell, this makes it scale better to some smaller screens
1 file changed, 9 insertions(+), 0 deletions(-)
M
style.css
|
9
+++++++++
diff --git a/style.css b/style.css
@@ -36,6 +36,8 @@ table thead td {
 
 table td {
 	padding: 0 0.4em;
+	white-space: nowrap;
+	vertical-align: top;
 }
 
 #branches tr:hover td,

@@ -46,6 +48,13 @@ table td {
 	background-color: #eee;
 }
 
+#index tr td:nth-child(2),
+#tags tr td:nth-child(3),
+#branches tr td:nth-child(3),
+#log tr td:nth-child(2) {
+	white-space: normal;
+}
+
 td.num {
 	text-align: right;
 }