fix: Display native context menu on image, video preview modals (#6756)

This commit is contained in:
Pranav Raj S
2023-03-26 15:16:56 -07:00
committed by GitHub
parent 4b83bcb5ca
commit 1e8881577a
5 changed files with 34 additions and 9 deletions

View File

@@ -54,6 +54,7 @@
@click="handleCopy"
/>
<menu-item
v-if="enabledOptions['copy']"
:option="{
icon: 'translate',
label: this.$t('CONVERSATION.CONTEXT_MENU.TRANSLATE'),
@@ -214,6 +215,10 @@ export default {
box-shadow: var(--shadow-context-menu);
border-radius: var(--border-radius-normal);
hr:first-child {
display: none;
}
hr {
border-bottom: 1px solid var(--color-border-light);
margin: var(--space-smaller);