From e8005c8d3a6edf2c8cdce3fe098fb9acff8a57c6 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sun, 28 Nov 2021 20:07:37 +0900
Subject: client: refine ui

---
 packages/client/src/components/form/section.vue | 26 +++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

(limited to 'packages/client/src/components/form/section.vue')

diff --git a/packages/client/src/components/form/section.vue b/packages/client/src/components/form/section.vue
index 76db7ac5c3..bc2ab966b8 100644
--- a/packages/client/src/components/form/section.vue
+++ b/packages/client/src/components/form/section.vue
@@ -1,7 +1,7 @@
 <template>
-<div v-size="{ max: [500] }" v-sticky-container class="vrtktovh">
+<div v-size="{ max: [500] }" v-sticky-container class="vrtktovh _formBlock">
 	<div class="label"><slot name="label"></slot></div>
-	<div class="main">
+	<div class="main _formRoot">
 		<slot></slot>
 	</div>
 </div>
@@ -17,15 +17,33 @@ export default defineComponent({
 
 <style lang="scss" scoped>
 .vrtktovh {
+	margin: 0;
 	border-top: solid 0.5px var(--divider);
+	border-bottom: solid 0.5px var(--divider);
+	padding: 24px 0;
+
+	& + .vrtktovh {
+		border-top: none;
+	}
+
+	&:first-child {
+		border-top: none;
+	}
+
+	&:last-child {
+		border-bottom: none;
+	}
 
 	> .label {
 		font-weight: bold;
-		padding: 24px 0 16px 0;
+		padding: 0 0 16px 0;
+
+		&:empty {
+			display: none;
+		}
 	}
 
 	> .main {
-		margin-bottom: 32px;
 	}
 }
 </style>
-- 
cgit v1.2.3-freya

