Abbreviate first column of sidebar table

This implements part of #6 with CSS to shorten extremely long node names
with ellipsis.
This commit is contained in:
Jan-Philipp Litza 2016-01-08 19:47:45 +01:00 committed by Milan Pässler
parent fa9a16defb
commit 3eb63f3fb8

View File

@ -245,6 +245,14 @@ table {
width: 60%; width: 60%;
} }
.sidebar table th:first-child,
.sidebar table td:first-child {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 60%;
}
.sidebarhandle { .sidebarhandle {
position: fixed; position: fixed;
left: $sidebarwidth + 2 * $buttondistance; left: $sidebarwidth + 2 * $buttondistance;