Skip to content

Commit

Permalink
fix: form icons z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Oct 14, 2023
1 parent 900308e commit 7e03449
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/plugins/components/autocomplete/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export default plugin.withOptions(
[`@apply relative`]: {},
},
[`.${prefix}autocomplete-icon`]: {
[`@apply text-${config.icon.text} absolute start-0 top-0 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
[`@apply text-${config.icon.text} absolute start-0 top-0 z-10 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
{},
},
[`.${prefix}autocomplete-input`]: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/components/input/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default plugin.withOptions(
[`@apply relative`]: {},
},
[`.${prefix}input-icon`]: {
[`@apply text-${config.icon.text} absolute start-0 top-0 z-20 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
[`@apply text-${config.icon.text} absolute start-0 top-0 z-10 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
{},
},
[`.${prefix}input-error-text`]: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/components/listbox/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export default plugin.withOptions(
},
},
[`.${prefix}listbox-icon`]: {
[`@apply text-${config.icon.text} absolute start-0 top-0 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
[`@apply text-${config.icon.text} absolute start-0 top-0 z-10 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
{},
},
[`.${prefix}listbox-chevron`]: {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/components/select/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default plugin.withOptions(
[`@apply relative`]: {},
},
[`.${prefix}select-icon`]: {
[`@apply text-${config.icon.text} absolute start-0 top-0 z-20 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
[`@apply text-${config.icon.text} absolute start-0 top-0 z-10 flex items-center justify-center transition-colors duration-${config.icon.duration}`]:
{},
},
[`.${prefix}select-error-text`]: {
Expand Down Expand Up @@ -234,7 +234,7 @@ export default plugin.withOptions(
},
[`.${prefix}select-chevron`]: {
'@apply pointer-events-none': {},
[`@apply text-${config.select.chevron.text} absolute end-0 top-0 z-20 flex items-center justify-center transition-transform duration-${config.select.chevron.duration}`]:
[`@apply text-${config.select.chevron.text} absolute end-0 top-0 z-10 flex items-center justify-center transition-transform duration-${config.select.chevron.duration}`]:
{},
},
[`&.${prefix}select-multiple`]: {
Expand Down

0 comments on commit 7e03449

Please sign in to comment.