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

32 lines
494 B
Vue
Raw Normal View History

2021-09-29 17:50:45 +02:00
<template>
2021-11-19 11:36:12 +01:00
<div v-size="{ max: [500] }" v-sticky-container class="vrtktovh">
2021-09-29 17:50:45 +02: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>