Skip to content

Commit

Permalink
fix(chat): selected card shadow is trimmed on OSX (#215)
Browse files Browse the repository at this point in the history
* fix(chat): selected card shadow is trimmed on OSX

see https://github.com/telerik/kendo-angular-conversational-ui/issues/9

* chore: update visual previews
  • Loading branch information
gyoshev committed Jul 3, 2018
1 parent 39c783e commit fc38a6c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/default/scss/chat/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ $message-group-spacing: calc( #{$chat-avatar-size} + #{$chat-avatar-spacing} );
flex: 0 0 auto;
width: 100%;
box-sizing: content-box;
padding-bottom: 3px; // prevents trimming of card shadows on OSX (0-width scrollbar)

> .k-card-deck {
// hide scrollbar
Expand All @@ -351,6 +352,7 @@ $message-group-spacing: calc( #{$chat-avatar-size} + #{$chat-avatar-spacing} );
flex-wrap: nowrap;
align-items: stretch;
flex: 0 0 auto;
padding-bottom: 5px; // accommodate for focused box shadow on OSX

.k-card {
flex: 0 0 auto;
Expand Down
Binary file modified tests/visual/output/bootstrap/card-deck.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/visual/output/default/card-deck.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/visual/output/material/card-deck.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc38a6c

Please sign in to comment.