diff --git a/app/javascript/dashboard/assets/scss/_foundation-custom.scss b/app/javascript/dashboard/assets/scss/_foundation-custom.scss index f35b1e47f..f6dc87077 100644 --- a/app/javascript/dashboard/assets/scss/_foundation-custom.scss +++ b/app/javascript/dashboard/assets/scss/_foundation-custom.scss @@ -59,10 +59,10 @@ $badge-size: var(--space-normal); $label-badge-size: var(--space-slab); .badge { + border-radius: var(--border-radius-normal); + font-weight: var(--font-weight-bold); height: min-content; line-height: 1; - font-weight: var(--font-weight-bold); - border-radius: var(--border-radius-normal); &.small { font-size: var(--font-size-nano); @@ -76,19 +76,19 @@ $label-badge-size: var(--space-slab); &.secondary { - min-width: unset; background: var(--s-75); color: var(--s-500); font-weight: var(--font-weight-bold); + min-width: unset; } } .badge--label, .badge--icon { - display: inline-flex; - border-radius: var(--border-radius-small); - margin-right: var(--space-smaller); background: var(--s-100); + border-radius: var(--border-radius-small); + display: inline-flex; + margin-right: var(--space-smaller); } .badge--icon { @@ -104,8 +104,8 @@ $label-badge-size: var(--space-slab); .badge--label { height: $label-badge-size; - min-width: $label-badge-size; margin-left: var(--space-smaller); + min-width: $label-badge-size; } diff --git a/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss b/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss index 062637707..d3f3f1511 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss @@ -13,10 +13,10 @@ .conversation { @include flex; @include flex-shrink; - padding: 0 var(--space-small); - margin: var(--space-small); border-radius: var(--border-radius-large); cursor: pointer; + margin: var(--space-small); + padding: 0 var(--space-small); position: relative; &.active { @@ -49,6 +49,7 @@ .conversation--message { color: $color-body; + flex-grow: 0; font-size: $font-size-small; font-weight: $font-weight-normal; height: $space-medium; @@ -59,7 +60,6 @@ text-overflow: ellipsis; white-space: nowrap; width: auto; - flex-grow: 0; } &.unread-chat { diff --git a/app/javascript/dashboard/assets/scss/widgets/_tabs.scss b/app/javascript/dashboard/assets/scss/widgets/_tabs.scss index de486596b..834f49f2f 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_tabs.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_tabs.scss @@ -21,8 +21,8 @@ a, .button { @include position(relative, 1px null null null); - height: var(--space-large); border-bottom: 2px solid transparent; + height: var(--space-large); transition: border-color .15s $swift-ease-out-function; } diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue index 72af86b8b..110cc4379 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue @@ -23,19 +23,10 @@ {{ currentContact.name }}
- - - +