fix: change mobile-first input suffix and prefix svg color (#3225)

This commit is contained in:
gimmyhehe 2025-04-07 10:02:16 +08:00 committed by GitHub
parent efe473fbf4
commit bc01d7dc8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@
<span
data-tag="tiny-input-prefix"
ref="prefix"
class="left-2 transition-all duration-300 ease-in-out text-xs sm:text-sm absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center"
class="left-2 transition-all fill-color-icon-placeholder duration-300 ease-in-out text-xs sm:text-sm absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center"
v-if="(slots.prefix || prefixIcon) && !state.isDisplayOnly"
>
<slot name="prefix"></slot>
@ -171,7 +171,7 @@
class="right-2 transition-all duration-300 ease-in-out pointer-events-none text-xs absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center z-[1]"
v-if="!state.isDisplayOnly && getSuffixVisible()"
>
<span class="pointer-events-auto text-xs flex justify-start items-center">
<span class="pointer-events-auto text-xs fill-color-icon-placeholder flex justify-start items-center">
<icon-close
v-if="state.showClear"
:class="