scroll hover thing

This commit is contained in:
7w1 committed 2026-03-19 18:54:28 -05:00
1 parent afb71b77cc
commit 56a607bf98
1 file changed
+3 -3
+3 -3
View File
@@ -37,7 +37,7 @@ export const messageList = style({
'not selector(::-webkit-scrollbar)': {
scrollbarWidth: 'auto',
selectors: {
'&:hover': {
'&:hover, &:has(*:hover)': {
scrollbarColor: `${color.SurfaceVariant.ContainerLine} ${color.SurfaceVariant.ContainerActive}`,
},
},
@@ -65,10 +65,10 @@ export const messageList = style({
border: `${toRem(4)} solid transparent`,
backgroundClip: 'padding-box',
},
'&:hover::-webkit-scrollbar-thumb': {
'&:hover::-webkit-scrollbar-thumb, &:has(*:hover)::-webkit-scrollbar-thumb': {
backgroundColor: color.SurfaceVariant.ContainerLine,
},
'&:hover::-webkit-scrollbar-track': {
'&:hover::-webkit-scrollbar-track, &:has(*:hover)::-webkit-scrollbar-track': {
backgroundColor: color.SurfaceVariant.ContainerActive,
},
},