Skip to content

Commit 24eda5f

Browse files
committed
Limit height of inspect dialog text area for proper scrolling
1 parent 50b6d98 commit 24eda5f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

webui/src/css/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,11 @@ h6:first-child {
406406
max-width: 850px;
407407
}
408408

409+
.wkt-inspect-dialog-content {
410+
max-height: 20vh;
411+
overflow: auto;
412+
}
413+
409414
.wkt-center-text-in-frame {
410415
vertical-align: center;
411416
text-align: center;

webui/src/js/views/inspect-dialog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</div>
99

1010
<div slot="body">
11-
<div class="oj-panel wkt-notop">
11+
<div class="oj-panel wkt-notop wkt-inspect-dialog-content">
1212
<p><oj-bind-text value="[[getMessage()]]"></oj-bind-text></p>
1313
<oj-bind-if test="[[hasOsInfo() === true]]">
1414
<table>

0 commit comments

Comments
 (0)