chore(client): 🎨

This commit is contained in:
syuilo
2020-04-16 23:13:33 +09:00
parent da3008af1c
commit 5389b16c59
3 changed files with 16 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
</header>
<p v-show="showBody" class="error" v-if="error != null">{{ $t('_pages.script.typeError', { slot: error.arg + 1, expect: $t(`script.types.${error.expect}`), actual: $t(`script.types.${error.actual}`) }) }}</p>
<p v-show="showBody" class="warn" v-if="warn != null">{{ $t('_pages.script.thereIsEmptySlot', { slot: warn.slot + 1 }) }}</p>
<div v-show="showBody">
<div v-show="showBody" class="body">
<slot></slot>
</div>
</div>
@@ -148,5 +148,17 @@ export default Vue.extend({
padding: 16px 16px 0 16px;
font-size: 14px;
}
> .body {
::v-deep .juejbjww, ::v-deep .eiipwacr {
&:not(.inline):first-child {
margin-top: 28px;
}
&:not(.inline):last-child {
margin-bottom: 20px;
}
}
}
}
</style>