feat: Update UX for adding label in a conversation (#2243)
This commit is contained in:
parent
ef2611164d
commit
60177ef418
4 changed files with 103 additions and 76 deletions
|
@ -1,15 +1,14 @@
|
|||
<template>
|
||||
<div>
|
||||
<woot-button
|
||||
variant="hollow"
|
||||
size="tiny"
|
||||
icon="ion-plus-round"
|
||||
color-scheme="secondary"
|
||||
@click="toggleLabels"
|
||||
>
|
||||
{{ $t('CONTACT_PANEL.LABELS.MODAL.ADD_BUTTON') }}
|
||||
</woot-button>
|
||||
</div>
|
||||
<woot-button
|
||||
variant="hollow"
|
||||
size="tiny"
|
||||
icon="ion-plus-round"
|
||||
color-scheme="secondary"
|
||||
class-names="button-wrap"
|
||||
@click="toggleLabels"
|
||||
>
|
||||
{{ $t('CONTACT_PANEL.LABELS.MODAL.ADD_BUTTON') }}
|
||||
</woot-button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -22,4 +21,14 @@ export default {
|
|||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style lang="scss" scoped>
|
||||
.button-wrap {
|
||||
padding: var(--space-micro) var(--space-small);
|
||||
display: inline;
|
||||
line-height: 1.2;
|
||||
|
||||
&::v-deep .icon {
|
||||
font-size: var(--font-size-mini);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue