chore(upload-popup): allow popup to adjust based on content width

This commit is contained in:
Hakadao
2024-07-21 16:53:48 +08:00
parent 492a57f24f
commit e83f55969a

View File

@@ -40,7 +40,7 @@ const list = computed(() => {
bg="$bew-elevated"
rounded="$bew-radius"
p="4"
w="150px"
min-w="120px"
shadow="[var(--bew-shadow-edge-glow-1),var(--bew-shadow-3)]"
border="1 $bew-border-color"
flex="~ col"
@@ -60,7 +60,7 @@ const list = computed(() => {
>
<i :class="item.icon" text="$bew-text-2" />
<div>{{ item.name }}</div>
<div text-nowrap>{{ item.name }}</div>
</a>
</div>
</template>