mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
fix(SelectMenu): update leading and trailing style
This commit is contained in:
@@ -77,7 +77,7 @@ export default {
|
||||
},
|
||||
leading: {
|
||||
wrapper: 'absolute inset-y-0 start-0 flex items-center',
|
||||
pointer: 'pointer-events-auto',
|
||||
pointer: 'pointer-events-none',
|
||||
padding: {
|
||||
'2xs': 'px-2',
|
||||
'xs': 'px-2.5',
|
||||
@@ -89,7 +89,7 @@ export default {
|
||||
},
|
||||
trailing: {
|
||||
wrapper: 'absolute inset-y-0 end-0 flex items-center',
|
||||
pointer: 'pointer-events-auto',
|
||||
pointer: 'pointer-events-none',
|
||||
padding: {
|
||||
'2xs': 'px-2',
|
||||
'xs': 'px-2.5',
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { arrow } from '../popper'
|
||||
import inputMenu from './inputMenu'
|
||||
import input from './input'
|
||||
|
||||
export default {
|
||||
...inputMenu,
|
||||
@@ -20,6 +21,18 @@ export default {
|
||||
popper: {
|
||||
placement: 'bottom-end'
|
||||
},
|
||||
icon: {
|
||||
...input.icon,
|
||||
leading: {
|
||||
...input.icon.leading,
|
||||
pointer: 'pointer-events-auto'
|
||||
},
|
||||
trailing: {
|
||||
...input.icon.trailing,
|
||||
pointer: 'pointer-events-auto'
|
||||
}
|
||||
|
||||
},
|
||||
default: {
|
||||
selectedIcon: 'i-heroicons-check-20-solid',
|
||||
clearSearchOnClose: false,
|
||||
|
||||
Reference in New Issue
Block a user