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

zio/stable
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
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ const toggleTranslation = async () => {
<template> <template>
<div> <div>
<button <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" :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> <span v-if="translating" block animate-spin preserve-3d>