mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-16 10:11:54 +01:00
43 lines
593 B
Vue
43 lines
593 B
Vue
<template>
|
|
<div class="vrtktovh _formBlock">
|
|
<div class="label"><slot name="label"></slot></div>
|
|
<div class="main _formRoot">
|
|
<slot></slot>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.vrtktovh {
|
|
border-top: solid 0.5px var(--divider);
|
|
border-bottom: solid 0.5px var(--divider);
|
|
|
|
& + .vrtktovh {
|
|
border-top: none;
|
|
}
|
|
|
|
&:first-child {
|
|
border-top: none;
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
> .label {
|
|
font-weight: bold;
|
|
margin: 1.5em 0 16px 0;
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
> .main {
|
|
margin: 1.5em 0;
|
|
}
|
|
}
|
|
</style>
|