chore: Add woot button to message context menu (#5638)
This commit is contained in:
parent
ce3730d640
commit
252eda14c6
3 changed files with 10 additions and 5 deletions
|
@ -420,6 +420,8 @@ export default {
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.wrap {
|
.wrap {
|
||||||
> .bubble {
|
> .bubble {
|
||||||
|
min-width: 128px;
|
||||||
|
|
||||||
&.is-image,
|
&.is-image,
|
||||||
&.is-video {
|
&.is-video {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
</woot-modal>
|
</woot-modal>
|
||||||
<woot-button
|
<woot-button
|
||||||
icon="more-vertical"
|
icon="more-vertical"
|
||||||
class="button--delete-message"
|
|
||||||
color-scheme="secondary"
|
color-scheme="secondary"
|
||||||
variant="link"
|
variant="clear"
|
||||||
|
size="small"
|
||||||
@click="handleContextMenuClick"
|
@click="handleContextMenuClick"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
|
@ -40,6 +40,7 @@
|
||||||
variant="clear"
|
variant="clear"
|
||||||
size="small"
|
size="small"
|
||||||
icon="clipboard"
|
icon="clipboard"
|
||||||
|
color-scheme="secondary"
|
||||||
@click="handleCopy"
|
@click="handleCopy"
|
||||||
>
|
>
|
||||||
{{ $t('CONVERSATION.CONTEXT_MENU.COPY') }}
|
{{ $t('CONVERSATION.CONTEXT_MENU.COPY') }}
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
variant="clear"
|
variant="clear"
|
||||||
size="small"
|
size="small"
|
||||||
icon="comment-add"
|
icon="comment-add"
|
||||||
|
color-scheme="secondary"
|
||||||
@click="showCannedResponseModal"
|
@click="showCannedResponseModal"
|
||||||
>
|
>
|
||||||
{{ $t('CONVERSATION.CONTEXT_MENU.CREATE_A_CANNED_RESPONSE') }}
|
{{ $t('CONVERSATION.CONTEXT_MENU.CREATE_A_CANNED_RESPONSE') }}
|
||||||
|
@ -132,12 +134,12 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.dropdown-pane {
|
.dropdown-pane {
|
||||||
bottom: var(--space-medium);
|
bottom: var(--space-large);
|
||||||
}
|
}
|
||||||
.dropdown-pane--left {
|
.dropdown-pane--left {
|
||||||
right: var(--space-small);
|
right: var(--space-minus-small);
|
||||||
}
|
}
|
||||||
.dropdown-pane--right {
|
.dropdown-pane--right {
|
||||||
left: var(--space-small);
|
left: var(--space-minus-small);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -35,6 +35,7 @@ export default {
|
||||||
a,
|
a,
|
||||||
.button {
|
.button {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
white-space: nowrap;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
color: var(--s-700);
|
color: var(--s-700);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue