Skip to content

Commit

Permalink
Merge pull request #636 from EBD232/dev
Browse files Browse the repository at this point in the history
Prevent line breaks in timestamp
  • Loading branch information
Warren Buckley authored Aug 16, 2022
2 parents 212d0b2 + d1eac85 commit 1b64d25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions LogViewer.Client/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ log-items .table {
word-break: break-all;
}

log-items .timestamp {
white-space: nowrap;
}

log-items tr.item {
cursor:pointer;
}
Expand Down
2 changes: 1 addition & 1 deletion LogViewer.Client/views/components/log-items.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</thead>
<tbody>
<tr ng-repeat-start="log in vm.logitems.items" ng-click="log.open = !log.open" class="item" ng-class="{'open': log.open}">
<td>{{ log.timestamp | date:'medium' }}</td>
<td class="timestamp">{{ log.timestamp | date:'medium' }}</td>
<td><span class="badge" ng-class="log.level | lowercase">{{ log.level }}</span></td>
<td>{{ log.renderedMessage }}</td>
</tr>
Expand Down

0 comments on commit 1b64d25

Please sign in to comment.