Skip to content

Commit 27e9b60

Browse files
committed
make tab panel fill height to 100%. fixes #18
1 parent 65bf837 commit 27e9b60

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

dist/devtools-solidus-0.1.0.crx

550 Bytes
Binary file not shown.

extension/devpanel.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,11 @@ pre.scroll-panel, .inspector-json {
150150
font-family: Menlo, monospace;
151151
background: #fff;
152152
border-radius: 0;
153-
max-height: 90%;
153+
height: 100%;
154+
}
155+
156+
.scroll-panel.has-toolbar {
157+
height: calc(100% - 23px);
154158
}
155159

156160
.inspector-json * {

extension/devpanel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<div class="btn-group server-log-buttons">
3333
<button type="button" id="logclear" title="Clear server log." class="btn btn-default"><span class="icon-clear"></span></button>
3434
</div>
35-
<pre id="serverlogs" class="scroll-panel"></pre>
35+
<pre id="serverlogs" class="scroll-panel has-toolbar"></pre>
3636
</div>
3737
<div class="tab-pane" id="info">
3838
<div class="scroll-panel">

0 commit comments

Comments
 (0)