improve dashboard

This commit is contained in:
syuilo
2021-10-23 00:04:19 +09:00
parent 0f122884cc
commit 4df409f77b
2 changed files with 64 additions and 5 deletions

View File

@ -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;