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

Commit

Permalink
Give <main> a definite flex basis (fixes #112)
Browse files Browse the repository at this point in the history
The flexbox spec changed, so that if we want #editor and #result to cover 60 %
and 40 % of the code box, we need to give their parent a size that can be
determined without measuring content.

Chromium has already updated their implementation, making the Playpen really
annoying to use, and Firefox will update theirs eventually.
  • Loading branch information
lastorset committed Sep 19, 2015
1 parent 7902618 commit 7d8afe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/web.css
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ button[disabled]:last-child::before {
border: 3px solid rgba(153, 153, 153, 0.5);
border-radius: 5px;
overflow-y: auto;
height: 100%;
}

#editor, #result {
Expand Down

0 comments on commit 7d8afe7

Please sign in to comment.