Browse Source

Limit width of name column to prevent very long names from (#209)

crowding out the inline column.
Sanjay Ghemawat 7 years ago
parent
commit
d19a98b9bc
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      internal/driver/webhtml.go

+ 6
- 1
internal/driver/webhtml.go View File

137
 }
137
 }
138
 #toptable {
138
 #toptable {
139
   border-spacing: 0px;
139
   border-spacing: 0px;
140
+  width: 100%;
140
 }
141
 }
141
 #toptable tr th {
142
 #toptable tr th {
142
   border-bottom: 1px solid black;
143
   border-bottom: 1px solid black;
152
   white-space: nowrap;
153
   white-space: nowrap;
153
   cursor: default;
154
   cursor: default;
154
 }
155
 }
155
-#toptable tr td:nth-child(6) { text-align: left; }
156
+#toptable tr td:nth-child(6) {
157
+  text-align: left;
158
+  max-width: 30em;  // Truncate very long names
159
+  overflow: hidden;
160
+}
156
 #toptable tr td:nth-child(7) { text-align: left; }
161
 #toptable tr td:nth-child(7) { text-align: left; }
157
 .hilite {
162
 .hilite {
158
   background-color: #ccf;
163
   background-color: #ccf;