.rich-textarea {

  .toolbar {
    padding-bottom: 0.5em;

    .btn {
      margin-right: 0.4em;

      &:last-child {
        margin-right: 0;
      }
    }
  }

  .textarea-canvas {
    border: 1px solid $oa-gray-light;
    padding: 1em;
    overflow: hidden;

    > div {
      min-height: 120px;
      outline: none;
    }

    .textarea-placeholder {
      color: $oa-gray-light;
      display: block;
      min-height: 0;
      height: 0;
      border: none;
      padding: 0;
      margin: 0;
      text-align: left;
      cursor: text;
    }

    h2, h3 {
      margin: 0 0 10px;
    }
  }

  &.fullscreen {
    position: fixed;
    background: white;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    padding: 1em;
    margin: 1em;
    flex-direction: column;

    .textarea-canvas {
      flex: 1;
      overflow-y: scroll;

      > div {
        height: 100%;
        outline: none;
      }
    }
  }
}
