This commit is contained in:
syuilo
2021-04-16 15:44:17 +09:00
parent 503f23ad3b
commit f32cad2667
4 changed files with 23 additions and 22 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="vrtktovg _formItem" v-size="{ max: [500] }">
<div class="vrtktovg _formItem" v-size="{ max: [500] }" v-sticky-container>
<div class="_formLabel"><slot name="label"></slot></div>
<div class="main _form_group">
<slot></slot>
@ -21,14 +21,6 @@ export default defineComponent({
> ::v-deep(*) {
margin: 0;
&:not(:first-child) {
&._formPanel, ._formPanel {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
&:not(:last-child) {
&._formPanel, ._formPanel {
border-bottom: solid 0.5px var(--divider);
@ -36,6 +28,14 @@ export default defineComponent({
border-bottom-right-radius: 0;
}
}
&:not(:first-child) {
&._formPanel, ._formPanel {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
}
}
}