/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Make elements with turbo frames stay pseudo-box by default. */
turbo-frame {
    display: contents;
}

/* Keep rich-text forms compact while preserving the toolbar and keyboard scrolling. */
lexxy-editor.lexxy-editor--bounded .lexxy-editor__content {
    max-block-size: 24rem;
    overflow-y: auto;
}

.lexxy-content {
    overflow-wrap: anywhere;
}

.lexxy-content :is(h1, h2, h3, h4, h5, h6) {
    hyphens: auto;
}
