From 3eb63f3fb859ff473987096e42f3118edc8546aa 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scss/main.scss b/scss/main.scss index aa9319b..006509e 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -245,6 +245,14 @@ table { width: 60%; } +.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;