Skip to content

Commit

Permalink
feat(): move giphy watermark image to CSS
Browse files Browse the repository at this point in the history
This removes image import from the React SDK
  • Loading branch information
petyosi committed Nov 11, 2021
1 parent 66af422 commit 6ef0a7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file added src/assets/Poweredby_100px-White_VertText.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/styles/Card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,11 @@
filter: invert(100%);
}
}

.str-chat__message-attachment-card.str-chat__message-attachment-card--giphy {
.str-chat__message-attachment-card--content {
background-image: url('#{$assetsPath}/Poweredby_100px-White_VertText.png');
background-position: right var(--border-radius) bottom var(--border-radius);
background-repeat: no-repeat;
}
}

0 comments on commit 6ef0a7b

Please sign in to comment.