.editor .btn-group { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-end; } .editor .btn-group .filler { flex-grow: 1; } .editor .btn-group button { padding: 6px; background-color: var(--background); } .editor .btn-group button:hover { background: var(--background-hover); } .editor .btn-group button > svg { width: 20px; height: 20px; } .editor .btn-group button > svg > path, .editor .btn-group button > svg > rect { fill: var(--icons); } .editor .btn-group button, .editor .btn-group .separator { margin: 0 8px 8px 0; height: 32px; position: relative; } .editor .btn-group > a { margin: 0 0 8px 0; } .editor .btn-group .separator { display: inline-block; width: 0; border-left: 1px solid #d9d9d9; border-right: 1px solid #ffffff; color: transparent; text-indent: -10px; } .editor textarea { min-height: 15rem; } .editor #editor_content_preview { margin: 5px; margin-top: 10px; border: var(--border); } .editor .modal { position: absolute; left: 0px; width: auto; min-width: 30vw; text-align: left; right: inherit; background: var(--background-hover); border: var(--border); color: var(--text); padding: .2rem; top: 3.2rem; z-index: 100; list-style-position: initial; list-style-type: none; } .editor .modal > div { margin: 0.8rem; margin-top: 0.4rem; margin-bottom: 1rem; } .editor .modal > div label { margin-top: 0.4rem; } @media screen and (max-width:849px) { .editor .modal { width: 80vw; position: fixed; left: 50vw; transform: translateX(-50%); top: 50vh; } }