Merge pull request #3033 from Pectojin/live_log_height

Live log height
This commit is contained in:
Kenneth Skovhede
2018-02-17 23:25:00 +01:00
committed by GitHub
2 changed files with 3 additions and 8 deletions
@@ -204,19 +204,14 @@ ul.tabs {
}
.entries {
div.entryline {
div.entryline.clickable {
cursor: pointer;
}
}
.entries.livedata {
li {
height: 1.2em;
}
li.expanded {
height: auto;
overflow: auto;
}
}
@@ -1492,7 +1487,7 @@ body {
ul.entries {
li {
padding-top: 30px;
padding-top: 10px;
}
}
}
@@ -34,7 +34,7 @@
<ul class="entries livedata">
<li ng-repeat="item in LiveData" ng-class="{expanded: expanded}">
<div ng-click="expanded = !expanded" class="entryline" ng-class="{noexception: item.Exception == null}">{{item.When | parsetimestamp}}: {{item.Message}}</div>
<div ng-click="expanded = !expanded" class="entryline" ng-class="{noexception: item.Exception == null, clickable: item.Exception != null}">{{item.When | parsetimestamp}}: {{item.Message}}</div>
<div ng-show="expanded &amp;&amp; item.Exception != null" class="prewrapped-text exceptiontext">{{item.Exception}}</div>
</li>
</ul>