Skip to content

Commit 69e610a

Browse files
authored
fix: input and select component bg should be transparent (#364)
1 parent 4495d09 commit 69e610a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

preset/src/shortcuts/src/input.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ export const inputShortcuts: Record<string, string> = {
22
// input
33
'k-input': 'relative fi',
44
'k-input--base': 'w-full relative fi k-border border-ikun-bd-base box-border overflow-hidden',
5-
'k-input--inner': 'outline-none w-full flex-auto border-none text-size-inherit',
6-
'k-input--inner__textarea': 'p-2 rounded',
5+
'k-input--inner': 'outline-none w-full flex-auto border-none text-size-inherit bg-transparent',
6+
'k-input--inner__textarea': 'p-2 rounded bg-transparent',
77
'k-input--icon': 'op50',
88
'k-input--prefix-icon': 'mr-1.5',
99
'k-input--suffix-icon': 'ml-1.5',

preset/src/shortcuts/src/select.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const selectShortcuts: Record<string, string> = {
77
'k-select--prefix': 'mr-0.4em text-1em op50',
88
'k-select--suffix': 'mx-0.4em text-1em op50',
99
'k-select--icon': 'op50 k-icon-transition',
10-
'k-select--inner': 'w-full h-full flex-auto !outline-none border-transparent',
10+
'k-select--inner': 'w-full h-full flex-auto !outline-none border-transparent bg-transparent',
1111
'k-select--inner__sm': 'text-12px',
1212
'k-select--inner__md': 'text-14px',
1313
'k-select--inner__lg': 'text-16px',

0 commit comments

Comments
 (0)