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
parent 9215387fbe
commit 491efeba36

View File

@ -236,6 +236,14 @@ table {
font-weight: bold; font-weight: bold;
} }
.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;
@ -283,6 +291,7 @@ table {
.sidebar table { .sidebar table {
width: 100%; width: 100%;
table-layout: fixed;
} }
.sidebar table th { .sidebar table th {