Skip to content
This repository has been archived by the owner on Jul 3, 2018. It is now read-only.

Commit

Permalink
Bug 1217880 - Set max-height on console input so it can overflow and …
Browse files Browse the repository at this point in the history
…be scrolled;r=vporof

--HG--
extra : commitid : DaMljfQiQMr
  • Loading branch information
bgrins committed Oct 26, 2015
1 parent ab009ae commit 162d0cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devtools/client/themes/webconsole.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ a {
}

.jsterm-input-node {
/* Always allow scrolling on input - it auto expands in js by setting height,
but don't want it to get bigger than the window. 24px = toolbar height. */
max-height: calc(90vh - 24px);
background-image: -moz-image-rect(url("chrome://devtools/skin/themes/images/commandline-icon.png"), 0, 32, 16, 16);
background-repeat: no-repeat;
background-size: 16px 16px;
Expand Down

0 comments on commit 162d0cd

Please sign in to comment.