Patches for dist version css element selection

This commit is contained in:
7w1 committed 2026-02-19 23:15:10 -06:00
1 parent 52a6d37b65
commit 4a13bb4ba0
2 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -37,10 +37,10 @@ export const messageList = style({
width: '100%',
});
globalStyle(`${messageList} [class*="layout_MessageBase"]`, {
transition: 'background-color 0.1s ease !important',
globalStyle(`body ${messageList} [data-message-id]`, {
transition: 'background-color 0.1s ease-in-out !important',
});
globalStyle(`${messageList} [class*="layout_MessageBase"]:hover`, {
globalStyle(`body ${messageList} [data-message-id]:hover`, {
backgroundColor: 'var(--sable-surface-container-hover) !important',
});
+5 -5
View File
@@ -28,10 +28,10 @@ globalStyle(`
});
globalStyle(`
button[class*="styles_UserHeroAvatar"]:hover,
[class*="RoomPinMenu_PinMenuContent"] [class*="layout_AvatarBase"]:hover,
[class*="RoomPinMenu_PinMenuContent"] [class*="UserAvatar"]:hover,
[class*="RoomPinMenu_PinMenuContent"] button:has([class*="UserAvatar"]):hover
button[class*="_1684mq51"]:has(img):hover,
[data-index] [class*="_1r9nvaso"]:hover,
[data-index] [class*="_1r9nvaso"] *:hover,
[data-index] button:has(p):hover
`, {
transform: 'none',
transform: 'none !important',
});