chore: Refactor messages to support right click context menu (#6748)

This commit is contained in:
Pranav Raj S
2023-03-24 13:49:44 -07:00
committed by GitHub
parent a6e7737c56
commit d666afd757
7 changed files with 78 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="menu" @click.stop="$emit('click')">
<div class="menu" role="button" @click.stop="$emit('click')">
<fluent-icon
v-if="variant === 'icon' && option.icon"
:icon="option.icon"

View File

@@ -83,7 +83,7 @@ export default {
}
&.disabled {
opacity: 50%;
opacity: 0.5;
cursor: not-allowed;
}
}