Skip to content

Commit

Permalink
Merge pull request #7400 from 8beeeaaat/7167-zooming-with-addon-centered
Browse files Browse the repository at this point in the history
Fix #7167 addon-centered causes component to disappear when zooming
  • Loading branch information
CodeByAlex authored and shilman committed Jul 31, 2019
1 parent d06aed8 commit 0ffff59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/core/src/server/templates/base-preview-head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<base target="_parent">

<style>
html, body{
width: 100%;
height: 100%;
}

:not(.sb-show-main) > .sb-main,
:not(.sb-show-nopreview) > .sb-nopreview,
:not(.sb-show-errordisplay) > .sb-errordisplay {
Expand Down

0 comments on commit 0ffff59

Please sign in to comment.