Merge pull request #6642 from menloresearch/fix/toast-text-selection-disable
feat: Disable text selection on Toaster
This commit is contained in:
parent
54d17c9c72
commit
3cbf348585
@ -13,11 +13,15 @@ export function ToasterProvider() {
|
|||||||
alignItems: 'start',
|
alignItems: 'start',
|
||||||
borderColor:
|
borderColor:
|
||||||
'color-mix(in oklch, var(--app-main-view) 5%, transparent)',
|
'color-mix(in oklch, var(--app-main-view) 5%, transparent)',
|
||||||
|
userSelect: 'none',
|
||||||
|
WebkitUserSelect: 'none',
|
||||||
|
MozUserSelect: 'none',
|
||||||
|
msUserSelect: 'none',
|
||||||
},
|
},
|
||||||
classNames: {
|
classNames: {
|
||||||
toast: 'toast',
|
toast: 'toast select-none',
|
||||||
title: '!text-main-view/90',
|
title: '!text-main-view/90 select-none',
|
||||||
description: '!text-main-view/70',
|
description: '!text-main-view/70 select-none',
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user