fix: make translate button visually less distracting (#1245)

This commit is contained in:
John HU 2023-01-16 22:51:38 -08:00 committed by GitHub
parent 406fe18302
commit 486f1baf37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ const toggleTranslation = async () => {
<template>
<div>
<button
v-if="isTranslationEnabled && status.language !== languageCode" pl-0 flex="~ center" gap-2
v-if="isTranslationEnabled && status.language !== languageCode" p-0 flex="~ center" gap-2 text-sm
:disabled="translating" disabled-bg-transparent btn-text class="disabled-text-$c-text-btn-disabled-deeper" @click="toggleTranslation"
>
<span v-if="translating" block animate-spin preserve-3d>