From 4df409f77bd9f431f9a11caa5fd846bbd4880727 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sat, 23 Oct 2021 00:04:19 +0900
Subject: improve dashboard

---
 src/client/components/ui/container.vue | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src/client/components/ui/container.vue')

diff --git a/src/client/components/ui/container.vue b/src/client/components/ui/container.vue
index 1940099096..14673dfcd7 100644
--- a/src/client/components/ui/container.vue
+++ b/src/client/components/ui/container.vue
@@ -1,5 +1,5 @@
 <template>
-<div class="ukygtjoj _block" :class="{ naked, hideHeader: !showHeader, scrollable, closed: !showBody }" v-size="{ max: [380] }">
+<div class="ukygtjoj _panel" :class="{ naked, thin, hideHeader: !showHeader, scrollable, closed: !showBody }" v-size="{ max: [380] }">
 	<header v-if="showHeader" ref="header">
 		<div class="title"><slot name="header"></slot></div>
 		<div class="sub">
@@ -36,6 +36,11 @@ export default defineComponent({
 			required: false,
 			default: true
 		},
+		thin: {
+			type: Boolean,
+			required: false,
+			default: false
+		},
 		naked: {
 			type: Boolean,
 			required: false,
@@ -226,7 +231,7 @@ export default defineComponent({
 		}
 	}
 
-	&.max-width_380px {
+	&.max-width_380px, &.thin {
 		> header {
 			> .title {
 				padding: 8px 10px;
-- 
cgit v1.2.3-freya

