<template>
  <div class="editor-sidebar card p-0">
    <div class="editor-sidebar-content py-3">
      <slot></slot>
    </div>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator';

@Component
export default class EditorSidebar extends Vue {}
</script>

<style lang="scss" scoped>
.editor-sidebar {
  border-left: 1px solid rgba(0, 0, 0, 0.125);
  padding: 16px;
  flex: 0 0 320px;

  &-content {
    position: sticky;
    top: 0;
  }
}
</style>
