diff --git a/src/app/features/room/RoomTimeline.css.ts b/src/app/features/room/RoomTimeline.css.ts index 88ca3d54..e227df2c 100644 --- a/src/app/features/room/RoomTimeline.css.ts +++ b/src/app/features/room/RoomTimeline.css.ts @@ -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', }); \ No newline at end of file diff --git a/src/app/styles/overrides/General.css.ts b/src/app/styles/overrides/General.css.ts index 058c3ba1..cbb37f4c 100644 --- a/src/app/styles/overrides/General.css.ts +++ b/src/app/styles/overrides/General.css.ts @@ -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', }); \ No newline at end of file