diff options
| author | eugenijm <eugenijm@protonmail.com> | 2020-07-07 21:43:46 +0300 |
|---|---|---|
| committer | eugenijm <eugenijm@protonmail.com> | 2020-07-08 15:21:31 +0300 |
| commit | fc865d3a129a7d5eabf1490a82eefbdea07e3b47 (patch) | |
| tree | 817e35b593cae1e389165f22e9c0e8b043551c3b /src/components/chat_message/chat_message.js | |
| parent | ed7310c04b3e36f1256db296784b6240023786a1 (diff) | |
Remove direct style manipulations in favor of classes
Diffstat (limited to 'src/components/chat_message/chat_message.js')
| -rw-r--r-- | src/components/chat_message/chat_message.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/components/chat_message/chat_message.js b/src/components/chat_message/chat_message.js index 4d737e42..be4a7c89 100644 --- a/src/components/chat_message/chat_message.js +++ b/src/components/chat_message/chat_message.js @@ -60,19 +60,6 @@ const ChatMessage = { currentUser: state => state.users.currentUser, restrictedNicknames: state => state.instance.restrictedNicknames }), - ellipsisButtonWrapperStyle () { - let res = { - 'opacity': this.hovered || this.menuOpened ? '1' : '0' - } - - if (this.isCurrentUser) { - res.right = '0.4rem' - } else { - res.left = '0.4rem' - } - - return res - }, popoverMarginStyle () { if (this.isCurrentUser) { return {} |
