client: refine ui

This commit is contained in:
syuilo
2021-11-28 20:07:37 +09:00
parent 335e4bd213
commit e8005c8d3a
48 changed files with 1744 additions and 1149 deletions

View File

@@ -18,7 +18,7 @@
</span>
<span class="label">
<span><slot></slot></span>
<p><slot name="caption"></slot></p>
<p class="caption"><slot name="caption"></slot></p>
</span>
</div>
</template>
@@ -118,10 +118,14 @@ export default defineComponent({
transition: inherit;
}
> p {
margin: 0;
> .caption {
margin: 8px 0 0 0;
color: var(--fgTransparentWeak);
font-size: 90%;
font-size: 0.85em;
&:empty {
display: none;
}
}
}