Commit 0b60637
authored
fix: remove hover styles for touch devices inside the message menu (#307)
### 🎯 Goal
On touch devices, you don't need special styles for hover action.
However, mobile OS-es still handle the `:hover` CSS selector, but it can
be confusing to the user when they accidentally activate the `:hover`
selector, this PR removes the `:hover` styles for touch devices inside
the message menu.
### 🛠 Implementation details
_Provide a description of the implementation_
### 🎨 UI Changes
_Add relevant screenshots_
Make sure to test with both Angular and React (with both `MessageList`
and `VirtualizedMessageList` components) SDKs1 parent 8a0bda6 commit 0b60637
2 files changed
Lines changed: 14 additions & 0 deletions
File tree
- src/v2/styles
- MessageActionsBox
- MessageReactions
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
87 | 93 | | |
88 | 94 | | |
0 commit comments