Merge pull request #6642 from menloresearch/fix/toast-text-selection-disable

feat: Disable text selection on Toaster
This commit is contained in:
Nghia Doan 2025-09-29 16:48:58 +07:00 committed by Louis
parent 54d17c9c72
commit 3cbf348585
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

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