/*
* ScrollView component
*
*/

@import '../../../style/core/utilities.scss';

.dnb-scroll-view {
  overflow-x: auto;

  @include scrollY(auto);

  // Ensure the user still can scroll a ancestor scrollarea (body)
  overscroll-behavior: auto;

  // interactive prop
  &[tabindex='0'] {
    &:focus {
      outline: none;

      @include focusRing();
    }
  }
}
