Skip to content

Commit

Permalink
Add some min heights to view source
Browse files Browse the repository at this point in the history
  • Loading branch information
David Neilsen committed Jun 27, 2014
1 parent ff0aa29 commit 4607287
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
4 changes: 3 additions & 1 deletion src/plugins/view-source/view-source.js
Expand Up @@ -14,7 +14,9 @@ Raptor.registerUi(new DialogButton({
name: 'viewSource',
dialogOptions: {
width: 600,
height: 400
height: 400,
minWidth: 400,
minHeight: 400
},

/**
Expand Down
12 changes: 2 additions & 10 deletions src/plugins/view-source/view-source.scss
Expand Up @@ -4,7 +4,6 @@
* @author Michael Robinson <michael@panmedia.co.nz>
* @author David Neilsen <david@panmedia.co.nz>
*/
@import 'compass/css3/box';
@import 'compass/css3/box-sizing';

.raptor-ui-view-source {
Expand All @@ -15,16 +14,9 @@
overflow: visible;
}

.raptor-ui-view-source-dialog textarea,
.raptor-ui-view-source-inner-wrapper {
width: 100%;
height: 100%;
@include display-box();
@include box-orient(vertical);
min-height: 200px;
}

.raptor-ui-view-source-dialog textarea {
width: 100%;
height: 100%;
@include box-flex(1);
}

0 comments on commit 4607287

Please sign in to comment.