@use 'globals';
@use 'hoverbar';

.text-editor {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  
  &__input {
    @include globals.reset-input;
    padding: 0.5rem;
    font-family: globals.$font-family-data;
    flex: 1;
  }
}

.toggle {
  &__container {
    display: flex;
    align-items: center;
  }

  &__checkbox {
    margin-right: 0.25rem;
  }

  &__label {
    margin-right: 0.5rem;

    &--disabled {
      opacity: 0.5;
    }
  }
}
