Remove borders from link preview small thumbnails
This commit is contained in:
parent
8677e8376a
commit
020d78e62b
1 changed files with 3 additions and 1 deletions
|
@ -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() {
|
public renderPreview() {
|
||||||
const {
|
const {
|
||||||
attachments,
|
attachments,
|
||||||
|
@ -564,6 +564,8 @@ export class Message extends React.PureComponent<Props, State> {
|
||||||
<div className="module-message__link-preview__icon_container">
|
<div className="module-message__link-preview__icon_container">
|
||||||
<Image
|
<Image
|
||||||
smallCurveTopLeft={!withContentAbove}
|
smallCurveTopLeft={!withContentAbove}
|
||||||
|
noBorder={true}
|
||||||
|
noBackground={true}
|
||||||
softCorners={true}
|
softCorners={true}
|
||||||
alt={i18n('previewThumbnail', [first.domain])}
|
alt={i18n('previewThumbnail', [first.domain])}
|
||||||
height={72}
|
height={72}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue