Remove box shadow and padding around preview html element

This commit is contained in:
Andrew Kingston 2021-09-08 09:39:36 +01:00
parent 3b3df86e4d
commit a10906ee01
1 changed files with 2 additions and 6 deletions

View File

@ -17,18 +17,14 @@ export default `
margin: 0; margin: 0;
} }
html { html {
height: calc(100% - 16px); height: 100%;
width: calc(100% - 16px); width: 100%;
overflow: hidden; overflow: hidden;
margin: 8px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
align-items: stretch; align-items: stretch;
} }
html.loaded {
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.1);
}
body { body {
flex: 1 1 auto; flex: 1 1 auto;
overflow: hidden; overflow: hidden;