+
@@ -80,16 +82,6 @@ export default {
max-width: 85%;
text-align: right;
- & + .user-message {
- margin-bottom: $space-micro;
- .chat-bubble {
- border-top-right-radius: $space-smaller;
- }
- }
- & + .agent-message {
- margin-top: $space-normal;
- margin-bottom: $space-micro;
- }
.message-wrap {
margin-right: $space-small;
}
@@ -103,13 +95,28 @@ export default {
padding: 0;
overflow: hidden;
}
+
.user.has-attachment {
.icon-wrap {
color: $color-white;
}
.download {
- opacity: 0.8;
+ color: $color-white;
+ }
+ }
+
+ .user-message-wrap {
+ + .user-message-wrap {
+ margin-top: $space-micro;
+
+ .user-message .chat-bubble {
+ border-top-right-radius: $space-smaller;
+ }
+ }
+
+ + .agent-message-wrap {
+ margin-top: $space-normal;
}
}
}
diff --git a/app/javascript/widget/components/UserMessageBubble.vue b/app/javascript/widget/components/UserMessageBubble.vue
index 5415aa26b..03fac6601 100755
--- a/app/javascript/widget/components/UserMessageBubble.vue
+++ b/app/javascript/widget/components/UserMessageBubble.vue
@@ -45,7 +45,7 @@ export default {
display: inline-block;
font-size: $font-size-default;
line-height: 1.5;
- padding: $space-small $space-normal;
+ padding: $space-slab $space-normal $space-slab $space-normal;
text-align: left;
> a {
diff --git a/app/javascript/widget/views/Home.vue b/app/javascript/widget/views/Home.vue
index d567d9a32..b4a0626f5 100755
--- a/app/javascript/widget/views/Home.vue
+++ b/app/javascript/widget/views/Home.vue
@@ -86,7 +86,7 @@ export default {
.header-wrap {
flex-shrink: 0;
- border-radius: $space-normal;
+ border-radius: $space-normal $space-normal $space-small $space-small;
background: white;
z-index: 99;
@include shadow-large;