style.css: wrap description text, nowrap for rest - stagit-gopher - A git gopher frontend. (mirror)
HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 6a427c75fcaab57d029222d3afb26c27b9629ae5
DIR parent 264aef81d5f5eeb39c194142a73cdfe84c6aeddb
HTML 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
Diffstat:
M style.css | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
DIR 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;
}