bug: Fixes alignment issue with deleted messages (#2613)

This commit is contained in:
Nithin David Thomas 2021-07-13 12:00:29 +05:30 committed by GitHub
parent 15085cfb98
commit deb4513584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,15 +61,17 @@
</div>
</a>
</div>
<context-menu
v-if="isBubble && !isMessageDeleted"
:is-open="showContextMenu"
:show-copy="hasText"
:menu-position="contextMenuPosition"
@toggle="handleContextMenuClick"
@delete="handleDelete"
@copy="handleCopy"
/>
<div class="context-menu-wrap">
<context-menu
v-if="isBubble && !isMessageDeleted"
:is-open="showContextMenu"
:show-copy="hasText"
:menu-position="contextMenuPosition"
@toggle="handleContextMenuClick"
@delete="handleDelete"
@copy="handleCopy"
/>
</div>
</li>
</template>
<script>
@ -371,7 +373,7 @@ li.left.has-tweet-menu .context-menu {
margin-bottom: var(--space-medium);
}
li.right .context-menu {
li.right .context-menu-wrap {
margin-left: auto;
}