ui: border around account header avatar

pull/154/head
Anthony Fu 2022-11-27 12:48:23 +08:00
rodzic fcde653efe
commit 1bd710daa4
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -67,7 +67,7 @@ function previewAvatar() {
<div p4 mt--17 flex flex-col gap-6>
<div flex justify-between>
<div flex="~ col gap-2 1">
<button w-30 h-30 rounded-full bg-black z-2 @click="previewAvatar">
<button w-30 h-30 rounded-full bg-gray border-4 border-bg-base z-2 @click="previewAvatar">
<AccountAvatar :account="account" hover:opacity-90 transition-opacity />
</button>
<div flex flex-col>

Wyświetl plik

@ -13,6 +13,7 @@ export default defineConfig({
shortcuts: [
{
'border-base': 'border-$c-border',
'border-bg-base': 'border-$c-bg-base',
// background
'bg-base': 'bg-$c-bg-base',