@import "../common/variables";

.@{css-prefix} {
  &-flexview {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: @max-width;
    min-width: @min-width;
  }

  &-layout-scrollview {
    width: 100%;
    height: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    margin-bottom: -1px;
    &:after {
      content: '';
      display: block;
      width: 100%;
      height: @body-padding-bottom;
    }
  }
}

.ios .@{css-prefix}-scrollview {
  margin-top: 1px;
}

.hairline .@{css-prefix}-scrollview {
  margin-top: 0.5px;
}
