Skip to content

Commit

Permalink
fix: remove hover styles for touch devices inside the message menu
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Sep 11, 2024
1 parent 8a0bda6 commit 0ebde13
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/v2/styles/MessageActionsBox/MessageActionsBox-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,11 @@
}
}
}

@media (hover: none) {
.str-chat__message-actions-box {
.str-chat__message-actions-list-item-button:hover {
background-color: transparent;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,11 @@
background-color: var(--str-chat__message-reactions-option-selected-background-color);
}
}

@media (hover: none) {
.str-chat__message-reactions-option:hover {
background-color: transparent;
}
}
}
}

0 comments on commit 0ebde13

Please sign in to comment.