css: layout, restrict innerdoc width instead of outerdoc width

pull/3886/head
Sebastian Castro 2020-04-06 14:46:15 +02:00 committed by muxator
parent 51b857ad1a
commit 6a5c35b651
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ html.inner-editor {
#outerdocbody {
display: flex;
flex-direction: row;
justify-content: center;
min-height: 100vh; /* take at least full height */
}
#outerdocbody iframe {

View File

@ -1,5 +1,4 @@
#outerdocbody {
max-width: 900px;
margin: 0 auto;
padding-top: 20px;
width: 100%;
@ -14,6 +13,7 @@
}
#outerdocbody iframe, #outerdocbody > #innerdocbody {
max-width: 900px;
padding: 55px;
box-shadow: 0 0 0 0.5px rgba(209, 209, 209, 0.32), 0 0 7pt 0pt rgba(204, 204, 204, 0.52);
border: 0;