.textbus-container {
  line-height: 1.428;
  border-radius: 5px;
  height: 480px;
  color: $color-dark;
  position: relative;
  display: flex;
  flex-direction: column;
  @include scrollChild();
  //overflow: hidden;

  > div {
    &:first-child {
      border-top-left-radius: inherit;
      border-top-right-radius: inherit;
    }

    &:last-child {
      border-bottom-left-radius: inherit;
      border-bottom-right-radius: inherit;
    }
  }
}

.textbus-ui {
  &-top {
    position: relative;
  }

  &-middle {
    flex: 1;
    position: relative;
    border-left: 1px solid $color-light;
    border-right: 1px solid $color-light;
    background-color: #fff;

    &:first-child {
      border-top: 1px solid $color-light
    }

    &:last-child {
      border-bottom: 1px solid $color-light;
    }
  }

  &-workbench {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    //overflow: hidden;
  }

  &-scroller {
    overflow: auto;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }

  &-bottom {
    position: relative;
  }
}
