fix: arrow placement in draft dropdown (#1287)

This commit is contained in:
webfansplz 2023-01-18 21:54:36 +08:00 committed by GitHub
parent fb1f407016
commit cce467a54a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ onMounted(() => {
<template> <template>
<div flex="~ col" pt-6 h-screen> <div flex="~ col" pt-6 h-screen>
<div text-right h-8> <div inline-flex justify-end h-8>
<VDropdown v-if="nonEmptyDrafts.length" placement="bottom-end"> <VDropdown v-if="nonEmptyDrafts.length" placement="bottom-end">
<button btn-text flex="inline center"> <button btn-text flex="inline center">
{{ $t('compose.drafts', nonEmptyDrafts.length, { named: { v: formatNumber(nonEmptyDrafts.length) } }) }}&#160;<div aria-hidden="true" i-ri:arrow-down-s-line /> {{ $t('compose.drafts', nonEmptyDrafts.length, { named: { v: formatNumber(nonEmptyDrafts.length) } }) }}&#160;<div aria-hidden="true" i-ri:arrow-down-s-line />