<template>
  <div class="scrollable">
    <div class="scrollable-inner styled-scrollbar">
      <slot />
    </div>
  </div>
</template>

<style lang="scss" scoped>
@use '@/styles/variables' as *;

.scrollable {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100%;

  &-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
  }
}
</style>
