logo

demo

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/demo.git

vanilla-editor.css (436B)


  1. #content_source, #content_view {
  2. width: 100%;
  3. /*
  4. * I so wish height: max-content; would work for textareas…
  5. * Should you need to do so, you need to put an hidden <pre> and synchronise it's content with the textarea, just like for the rich-text area.
  6. */
  7. height: 25ch; /* fallback */
  8. height: 33vh;
  9. }
  10. /* Otherwise, elements further down ends up overlaying #content_view on small viewports */
  11. #content_view { display: table; }