mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-25 10:46:17 +03:00
fix(ui): translation button loading style issue in light theme (#1218)
This commit is contained in:
parent
8c170961cb
commit
f3a3a299e0
2 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,7 @@ const toggleTranslation = async () => {
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
v-if="isTranslationEnabled && status.language !== languageCode" pl-0 flex="~ center" gap-2
|
v-if="isTranslationEnabled && status.language !== languageCode" pl-0 flex="~ center" gap-2
|
||||||
:disabled="translating" disabled-bg-transparent btn-text @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>
|
||||||
<span block i-ri:loader-2-fill />
|
<span block i-ri:loader-2-fill />
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
--c-bg-btn-disabled: #a1a1a1;
|
--c-bg-btn-disabled: #a1a1a1;
|
||||||
--c-text-btn-disabled: #fff;
|
--c-text-btn-disabled: #fff;
|
||||||
|
--c-text-btn-disabled-deeper: #a1a1a1;
|
||||||
--c-text-btn: #232323;
|
--c-text-btn: #232323;
|
||||||
|
|
||||||
--c-success: #67C23A;
|
--c-success: #67C23A;
|
||||||
|
|
Loading…
Reference in a new issue