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 GitHub
commit 1504533246
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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