Skip to content

Commit

Permalink
fix: input and select component bg should be transparent (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwusanyu-c committed Dec 18, 2023
1 parent 4495d09 commit 69e610a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions preset/src/shortcuts/src/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ export const inputShortcuts: Record<string, string> = {
// input
'k-input': 'relative fi',
'k-input--base': 'w-full relative fi k-border border-ikun-bd-base box-border overflow-hidden',
'k-input--inner': 'outline-none w-full flex-auto border-none text-size-inherit',
'k-input--inner__textarea': 'p-2 rounded',
'k-input--inner': 'outline-none w-full flex-auto border-none text-size-inherit bg-transparent',
'k-input--inner__textarea': 'p-2 rounded bg-transparent',
'k-input--icon': 'op50',
'k-input--prefix-icon': 'mr-1.5',
'k-input--suffix-icon': 'ml-1.5',
Expand Down
2 changes: 1 addition & 1 deletion preset/src/shortcuts/src/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const selectShortcuts: Record<string, string> = {
'k-select--prefix': 'mr-0.4em text-1em op50',
'k-select--suffix': 'mx-0.4em text-1em op50',
'k-select--icon': 'op50 k-icon-transition',
'k-select--inner': 'w-full h-full flex-auto !outline-none border-transparent',
'k-select--inner': 'w-full h-full flex-auto !outline-none border-transparent bg-transparent',
'k-select--inner__sm': 'text-12px',
'k-select--inner__md': 'text-14px',
'k-select--inner__lg': 'text-16px',
Expand Down

0 comments on commit 69e610a

Please sign in to comment.