Skip to content

Commit a1d3415

Browse files
author
Nils Schneider
committed
Merge pull request #20 from ffnord/feature-shorten-node-names
Abbreviate first column of sidebar table
2 parents 9215387 + 491efeb commit a1d3415

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scss/main.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,14 @@ table {
236236
font-weight: bold;
237237
}
238238

239+
.sidebar table th:first-child,
240+
.sidebar table td:first-child {
241+
white-space: nowrap;
242+
overflow: hidden;
243+
text-overflow: ellipsis;
244+
width: 60%;
245+
}
246+
239247
.sidebarhandle {
240248
position: fixed;
241249
left: $sidebarwidth + 2 * $buttondistance;
@@ -283,6 +291,7 @@ table {
283291

284292
.sidebar table {
285293
width: 100%;
294+
table-layout: fixed;
286295
}
287296

288297
.sidebar table th {

0 commit comments

Comments
 (0)