Skip to content

Commit

Permalink
Adjust viewport to fix CodeMirror resize issue in production build
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Sep 6, 2018
1 parent a2b8b3e commit e55954f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions fixtures/dom/src/components/fixtures/hydration/hydration.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.hydration {
border-radius: 2px;
position: relative;
width: 100%;
}

.hydration-editor {
Expand All @@ -27,16 +26,9 @@
vertical-align: middle;
}

.hydration .ReactCodeMirror {
height: 80vh;
min-hight: 350px;
width: 100%;
}

.hydration .CodeMirror {
height: 580px;
font-size: 12px;
height: 100%;
padding: 8px 0;
}

.hydration-frame {
Expand Down

0 comments on commit e55954f

Please sign in to comment.