File tree 1 file changed +16
-6
lines changed
src/components/MessagesList/MessagesGroup/Message/MessagePart
1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 39
39
</template>
40
40
41
41
<div v-if="hasReactionsLoaded" class="reaction-details">
42
- <span>{{ getReactionSummary(reaction) }}</span>
43
- <NcButton v-if="reactionsCount(reaction) > 3"
44
- type="tertiary-no-background"
45
- @click="showAllReactions = true">
46
- {{ remainingReactionsLabel(reaction) }}
47
- </NcButton>
42
+ <span>{{ getReactionSummary(reaction) }}
43
+ <a v-if="reactionsCount(reaction) > 3"
44
+ class="more-reactions-button"
45
+ role="button"
46
+ tabindex="0"
47
+ @click.prevent="showAllReactions = true">
48
+ {{ remainingReactionsLabel(reaction) }}
49
+ </a>
50
+ </span>
48
51
</div>
49
52
<div v-else class="details-loading">
50
53
<NcLoadingIcon />
@@ -303,6 +306,7 @@ export default {
303
306
304
307
.reaction-details {
305
308
padding: 8px;
309
+ max-width: 250px;
306
310
}
307
311
308
312
.details-loading {
@@ -311,4 +315,10 @@ export default {
311
315
width: 38px;
312
316
}
313
317
318
+ .more-reactions-button {
319
+ text-decoration: underline;
320
+ &:hover {
321
+ text-decoration: none;
322
+ }
323
+ }
314
324
</style>
You can’t perform that action at this time.
0 commit comments