mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 13:05:18 +01:00
35 lines
519 B
Vue
35 lines
519 B
Vue
<template>
|
|
<div v-sticky-container v-panel class="adfeebaf _formBlock">
|
|
<div class="label"><slot name="label"></slot></div>
|
|
<div class="main _formRoot">
|
|
<slot></slot>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.adfeebaf {
|
|
padding: 24px 24px;
|
|
border-radius: var(--radius);
|
|
|
|
> .label {
|
|
font-weight: bold;
|
|
padding: 0 0 16px 0;
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
> .main {
|
|
|
|
}
|
|
}
|
|
</style>
|