diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index dcfa952..56ec38e 100644 --- a/app/assets/stylesheets/editor.scss +++ b/app/assets/stylesheets/editor.scss @@ -2,10 +2,8 @@ box-sizing: border-box; *, *::before, *::after { box-sizing: inherit; } - h1, h2, h3, h4, h5, h6, p { - min-height: 1.4em; - line-height: 1.4; - margin: 0; + h1, h2, h3, h4, h5, h6, p, li { + min-height: 1.5rem; } mark { @@ -15,6 +13,10 @@ .selected { outline: #f206f9 solid medium; } + iframe { + min-height: 480px; + } + img, video, iframe, audio { width: 100%; max-width: 600px; @@ -43,8 +45,6 @@ } } - ol, ul { margin: 0; } - .editor-content { word-wrap: break-word; div[data-align="left"] { text-align: left; } @@ -55,6 +55,7 @@ *[data-editor-loading] { opacity: 0.5; } + *[data-editor-error] { filter: grayscale(100%); }