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

Commit

Permalink
Playground app: should fix the editor size issue
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Aug 19, 2013
1 parent 7cbcb4f commit 3756fb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Playground/src/css/pg-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ ace-element#ace:not([gridlayout]) {
}

ace-element#ace:not([vertical]) {
width: 540px;
height: auto !important;
}

ace-element#ace[vertical] {
width: auto !important;
height: 200px;
}

pg-output {
Expand Down
2 changes: 1 addition & 1 deletion Playground/src/pg-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>

<polymer-media-query query="max-width: {{responsiveWidth}}" queryMatches="{{queryMatches}}"></polymer-media-query>
<polymer-collapse target="{{$.ace}}" horizontal={{!vertical}} fixedSize size="{{vertical ? '200px' : '540px'}}" closed="{{maximized}}"></polymer-collapse>
<polymer-collapse target="{{$.ace}}" horizontal={{!vertical}} fixedSize closed="{{maximized}}"></polymer-collapse>
</template>
<script>
Polymer('pg-view', {
Expand Down

0 comments on commit 3756fb8

Please sign in to comment.