From f152a6735adfaa7a6c18b62ef934020ce6ea17aa Mon Sep 17 00:00:00 2001 From: nithindavid <1277421+nithindavid@users.noreply.github.com> Date: Wed, 14 Dec 2022 22:31:08 +0530 Subject: [PATCH] Fix label overflow --- .../assets/scss/widgets/_buttons.scss | 4 + .../dashboard/components/ui/Label.vue | 9 +- .../widgets/conversation/ConversationCard.vue | 232 ++++++++++++++++-- .../i18n/locale/en/conversation.json | 11 + .../shared/assets/stylesheets/colors.scss | 4 +- 5 files changed, 229 insertions(+), 31 deletions(-) diff --git a/app/javascript/dashboard/assets/scss/widgets/_buttons.scss b/app/javascript/dashboard/assets/scss/widgets/_buttons.scss index 13fd0ce73..049f054f4 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_buttons.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_buttons.scss @@ -199,6 +199,10 @@ $default-button-height: 4.0rem; height: auto; margin: 0; padding: 0; + + &:hover { + text-decoration: underline; + } } } diff --git a/app/javascript/dashboard/components/ui/Label.vue b/app/javascript/dashboard/components/ui/Label.vue index cb1dd010d..a2e3cfcaf 100644 --- a/app/javascript/dashboard/components/ui/Label.vue +++ b/app/javascript/dashboard/components/ui/Label.vue @@ -4,7 +4,7 @@ @@ -125,6 +125,9 @@ export default { .label--icon { cursor: pointer; + } + + .label-color-dot { margin-right: var(--space-smaller); } @@ -230,11 +233,13 @@ export default { height: var(--space-one); border-radius: var(--border-radius-small); margin-right: var(--space-smaller); + box-shadow: var(--shadow-small); } .label.small .label-color-dot { width: var(--space-small); height: var(--space-small); border-radius: var(--border-radius-small); - margin-right: var(--space-smaller); + margin-right: var(--space-micro); + box-shadow: var(--shadow-small); } diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue index ee474bdcb..4574c68d1 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue @@ -1,5 +1,6 @@