style.css: wrap description text, nowrap for rest - stagit-gopher - A git gophe… | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 6a427c75fcaab57d029222d3afb26c27b9629ae5 | |
parent 264aef81d5f5eeb39c194142a73cdfe84c6aeddb | |
Author: Hiltjo Posthuma <[email protected]> | |
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 small… | |
Diffstat: | |
M style.css | 9 +++++++++ | |
1 file changed, 9 insertions(+), 0 deletions(-) | |
--- | |
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; | |
} |