From 0a0a990c54c04f67f660dc616e01e92d70c36f79 Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Thu, 6 Oct 2016 20:37:38 +1300 Subject: [PATCH] Remove add wrapper element Added 100% height to fill-width to fix some layout issues --- admin/client/dist/js/bundle.js | 6 ++++-- admin/client/dist/styles/bundle.css | 12 +++++------- admin/client/src/containers/App/App.js | 4 +++- admin/client/src/styles/_layout.scss | 1 + 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/admin/client/dist/js/bundle.js b/admin/client/dist/js/bundle.js index 37c546809..74ead799d 100644 --- a/admin/client/dist/js/bundle.js +++ b/admin/client/dist/js/bundle.js @@ -2035,8 +2035,10 @@ e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,wri value:!0}) var s=function(){function e(e,t){for(var n=0;n{this.props.children}); + // TODO re-add
wrapper when applying to document.body + const Child = React.Children.only(this.props.children); + return (Child); } } diff --git a/admin/client/src/styles/_layout.scss b/admin/client/src/styles/_layout.scss index fba68b040..2535a205d 100644 --- a/admin/client/src/styles/_layout.scss +++ b/admin/client/src/styles/_layout.scss @@ -168,6 +168,7 @@ html, body { // Nested items take up width .fill-width { width: 100%; + height: 100%; display: -ms-flexbox; display: flex; -ms-flex-direction: row;