Skip to content

Commit

Permalink
Remove borders from link preview small thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed May 30, 2019
1 parent 8677e83 commit 020d78e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ts/components/conversation/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ export class Message extends React.PureComponent<Props, State> {
}
}

// tslint:disable-next-line cyclomatic-complexity
// tslint:disable-next-line cyclomatic-complexity max-func-body-length
public renderPreview() {
const {
attachments,
Expand Down Expand Up @@ -564,6 +564,8 @@ export class Message extends React.PureComponent<Props, State> {
<div className="module-message__link-preview__icon_container">
<Image
smallCurveTopLeft={!withContentAbove}
noBorder={true}
noBackground={true}
softCorners={true}
alt={i18n('previewThumbnail', [first.domain])}
height={72}
Expand Down

0 comments on commit 020d78e

Please sign in to comment.