paricafe/packages/client/src/components/form/section.vue

32 lines
494 B
Vue
Raw Normal View History

2021-09-29 10:50:45 -05:00
<template>
2021-11-19 04:36:12 -06:00
<div v-size="{ max: [500] }" v-sticky-container class="vrtktovh">
2021-09-29 10:50:45 -05:00
<div class="label"><slot name="label"></slot></div>
<div class="main">
<slot></slot>
</div>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
});
</script>
<style lang="scss" scoped>
.vrtktovh {
border-top: solid 0.5px var(--divider);
> .label {
font-weight: bold;
padding: 24px 0 16px 0;
}
> .main {
margin-bottom: 32px;
}
}
</style>