]> git.armaanb.net Git - stagit.git/commitdiff
style.css: wrap description text, nowrap for rest
authorHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 6 Jan 2016 17:33:24 +0000 (18:33 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 6 Jan 2016 17:53:51 +0000 (18:53 +0100)
vertical align to the top of the cell, this makes it scale better to some smaller screens

style.css

index dd3adac239692f160c6c805df1535fd411c9ef1f..87428278701cb7cbf6d54eb4a704d1644bebac48 100644 (file)
--- 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;
 }