Skip to content

Commit

Permalink
fix(chat): card decks expand beyond the chat container size
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev committed May 16, 2018
1 parent a9937ba commit a885344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/default/scss/chat/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ $message-group-spacing: calc( #{$chat-avatar-size} + #{$chat-avatar-spacing} );
}

.k-chat .k-card-deck {
max-width: calc(125% + calc( #{$message-group-spacing / 4} ) + #{$chat-message-list-padding-y * 2}); // prevent overflowing in the parent element
max-width: calc(100% + #{$chat-message-list-padding-y * 2}); // prevent overflowing in the parent element
box-sizing: border-box;
margin-top: $chat-message-list-padding-y;
margin-left: -$chat-message-list-padding-y;
Expand Down

0 comments on commit a885344

Please sign in to comment.