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:
Vanalite 2025-09-29 13:51:19 +07:00
parent 75dee86375
commit a5eb7ea894

View File

@ -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',
},
}}
/>