css: some fix for browser compatibility refs #3907 (#3913)

This commit is contained in:
Sebastian Castro 2020-04-21 15:33:53 +02:00 committed by GitHub
parent 85adaa44d8
commit cb785590bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -39,7 +39,7 @@
position: relative;
width: auto;
flex: 1 auto; /* take reminaning vertical space */
height: auto;
height: 100%;
right: 0;
display: flex;
}

View file

@ -1,6 +1,7 @@
html, body {
width: 100%;
height: 100%;
overflow: hidden;
margin: 0;
padding: 0;
}
@ -23,12 +24,12 @@ body {
}
#editorcontainerbox #editorcontainer {
display: flex; /* transfer flex properties to nested elements, here the iframe */
height: 100%;
height: auto;
flex: 1 auto;
}
#editorcontainerbox #editorcontainer iframe {
width: 100%;
height: 100%;
height: auto;
}
#editorcontainerbox .sticky-container { /* container for #users, #chat, #toc (table of content) and so on... */
display: flex;

View file

@ -5,7 +5,7 @@
}
#editorcontainerbox {
background-color: #ffffff;
background-color: #f2f3f4;
background-color: var(--bg-color);
}
@ -26,7 +26,7 @@
padding-bottom: var(--editor-vertical-padding);
box-shadow: none;
border: 0;
border-radius: 8px;
border-radius: 8px 8px 0 0;
background-color: #ffffff;
background-color: var(--bg-color);
color: #485365;