mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 03:02:03 +01:00
css: layout, restrict innerdoc width instead of outerdoc width
This commit is contained in:
parent
51b857ad1a
commit
6a5c35b651
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ html.inner-editor {
|
||||||
#outerdocbody {
|
#outerdocbody {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
min-height: 100vh; /* take at least full height */
|
min-height: 100vh; /* take at least full height */
|
||||||
}
|
}
|
||||||
#outerdocbody iframe {
|
#outerdocbody iframe {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#outerdocbody {
|
#outerdocbody {
|
||||||
max-width: 900px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -14,6 +13,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#outerdocbody iframe, #outerdocbody > #innerdocbody {
|
#outerdocbody iframe, #outerdocbody > #innerdocbody {
|
||||||
|
max-width: 900px;
|
||||||
padding: 55px;
|
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);
|
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;
|
border: 0;
|
||||||
|
|
Loading…
Reference in a new issue