Skip to content

Commit

Permalink
Abbreviate first column of sidebar table
Browse files Browse the repository at this point in the history
This implements part of ffnord#6 with CSS to shorten extremely long node names
with ellipsis.
  • Loading branch information
jplitza authored and Milan Pässler committed Feb 12, 2016
1 parent fa9a16d commit 3eb63f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3eb63f3

Please sign in to comment.