From 491efeba366f1136c35ef3bcdf1d1b5b0483ca32 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Fri, 8 Jan 2016 19:47:45 +0100 Subject: [PATCH] Abbreviate first column of sidebar table This implements part of #6 with CSS to shorten extremely long node names with ellipsis. --- scss/main.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scss/main.scss b/scss/main.scss index 29db91b..d723673 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -236,6 +236,14 @@ table { font-weight: bold; } +.sidebar table th:first-child, +.sidebar table td:first-child { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + width: 60%; +} + .sidebarhandle { position: fixed; left: $sidebarwidth + 2 * $buttondistance; @@ -283,6 +291,7 @@ table { .sidebar table { width: 100%; + table-layout: fixed; } .sidebar table th {