// ------------------------------------------------------------------
// Layout
// ------------------------------------------------------------------

.o_ComposerTextInput {
    min-width: 0;
    position: relative;
}

.o_ComposerTextInput_mentionDropdown {
    position: absolute;

    &.o-lowPosition {
        bottom: 0;
    }
}

.o_ComposerTextInput_textarea {
    padding: 10px;
    max-height: 200px;
    resize: none;
    border-radius: $o-mail-rounded-rectangle-border-radius-lg;
    border: none;
    overflow: auto;

    // When composer is compact, textarea should not be rounded on the right as
    // buttons are glued to it
    &.o-composer-is-compact {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}
