diff --git a/src/client/app/common/views/components/reactions-viewer.reaction.vue b/src/client/app/common/views/components/reactions-viewer.reaction.vue new file mode 100644 index 000000000..b7c321fc9 --- /dev/null +++ b/src/client/app/common/views/components/reactions-viewer.reaction.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/src/client/app/common/views/components/reactions-viewer.vue b/src/client/app/common/views/components/reactions-viewer.vue index 32a27cbb6..cf7f88b2f 100644 --- a/src/client/app/common/views/components/reactions-viewer.vue +++ b/src/client/app/common/views/components/reactions-viewer.vue @@ -1,133 +1,31 @@ @@ -144,38 +42,4 @@ export default Vue.extend({ &:hover background var(--reactionViewerButtonBg) !important - - > span - display inline-block - height 32px - margin 2px - padding 0 6px - border-radius 4px - cursor pointer - - * - user-select none - pointer-events none - - &.reacted - background var(--primary) - - > span - color var(--primaryForeground) - - &:not(.reacted) - background var(--reactionViewerButtonBg) - - &:hover - background var(--reactionViewerButtonHoverBg) - - > .mk-reaction-icon - font-size 1.4em - - > span - font-size 1.1em - line-height 32px - vertical-align middle - color var(--text) -