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