Skip to content

Commit 01498dd

Browse files
authored
fix hovered chat row z-index after legendapp list 3.3.3 (#29430)
3.3.3 removed the data-index attribute from item containers, so the hover rule matched nothing and the reactions row painted behind neighboring rows. Select the container structurally instead.
1 parent 2e5bbb0 commit 01498dd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

shared/chat/conversation/conversation.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
}
5858
}
5959

60-
.chat-message-list [data-index]:has(.WrapperMessage-hoverBox:hover) {
60+
/* LegendList 3.3.3 dropped the data-index attribute from its item containers, so target the
61+
container as the div whose direct child is the WrapperMessage instead */
62+
.chat-message-list div:has(> .WrapperMessage-hoverBox:hover) {
6163
contain: layout style !important;
6264
overflow: visible !important;
6365
z-index: 1;

0 commit comments

Comments
 (0)