feat: Disable text selection on Toaster
Disable the option to select text on the Toaster to consist the swiping action on the toast in order to dismiss it
This commit is contained in:
parent
75dee86375
commit
a5eb7ea894
@ -13,11 +13,15 @@ export function ToasterProvider() {
|
||||
alignItems: 'start',
|
||||
borderColor:
|
||||
'color-mix(in oklch, var(--app-main-view) 5%, transparent)',
|
||||
userSelect: 'none',
|
||||
WebkitUserSelect: 'none',
|
||||
MozUserSelect: 'none',
|
||||
msUserSelect: 'none',
|
||||
},
|
||||
classNames: {
|
||||
toast: 'toast',
|
||||
title: '!text-main-view/90',
|
||||
description: '!text-main-view/70',
|
||||
toast: 'toast select-none',
|
||||
title: '!text-main-view/90 select-none',
|
||||
description: '!text-main-view/70 select-none',
|
||||
},
|
||||
}}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user