CSS: Fix class name for outer iframe <html> tag

* Add the class "pad" to the `<html>` tag in `pad.html` (the outer
    iframe's parent).
  * Change the CSS selector that refers to the `<html>` tag in
    `pad.html` from `html:not(.inner-editor)` to `html.pad`.
  * Change the class name of the outer iframe's `<html>` tag from
    "inner-editor" to "outer-editor".
  * Update CSS rules to use the new class name.
This commit is contained in:
Richard Hansen 2021-03-04 13:46:42 -05:00 committed by John McLear
parent 6615d36f8d
commit 48e1d1c23f
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
@import url('./lists_and_indents.css');
html.inner-editor {
html.outer-editor, html.inner-editor {
height: auto !important;
background-color: transparent !important;
}

View file

@ -4,7 +4,7 @@ html, body {
margin: 0;
padding: 0;
}
html:not(.inner-editor), html:not(.inner-editor) body {
html.pad, html.pad body {
overflow: hidden;
}
body {