Optimize selector performance for selection

This commit is contained in:
Enrico Ros
2025-04-27 02:32:34 -07:00
parent 3572b94e8f
commit 9e02e0aabd
+1 -1
View File
@@ -8,7 +8,7 @@ const blocksTextStyleSx = {
lineHeight: lineHeightChatTextMd,
// customize the text selection color (also in edit mode)
'& *::selection': {
'&::selection': {
// backgroundColor: '#fc70c3',
backgroundColor: 'var(--joy-palette-primary-solidBg)',
color: 'var(--joy-palette-primary-solidColor)',