Much cleaner CSS selector logic!

This commit is contained in:
Shaunak Kashyap 2015-06-03 15:40:46 -07:00
parent 646f9e7783
commit 627b94e5f7
2 changed files with 3 additions and 5 deletions

View file

@ -1 +1 @@
<td <%= timefield ? 'class="discover-table-timefield" width="1%"' : '' %>><%= formatted %></td>
<td <%= timefield ? 'class="discover-table-timefield" width="1%"' : 'class="discover-table-datafield"' %>><%= formatted %></td>

View file

@ -7,10 +7,8 @@ doc-table {
margin: 5px;
.flex(1, 1, 100%);
tr.discover-table-row {
td:not(.discover-table-timefield):not(.ng-scope) {
white-space: pre;
}
.discover-table-datafield {
white-space: pre;
}
.loading {