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 #6 with CSS to shorten extremely long node names
with ellipsis.
  • Loading branch information
jplitza committed Jan 8, 2016
1 parent 9215387 commit 491efeb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -283,6 +291,7 @@ table {

.sidebar table {
width: 100%;
table-layout: fixed;
}

.sidebar table th {
Expand Down

0 comments on commit 491efeb

Please sign in to comment.