fix: Messages: Change unfurl image crop aspect ratio to align with Open (#14682)

Graph

Fixes: 13379
This commit is contained in:
Roman Chornii 2024-05-13 12:48:42 +03:00 committed by GitHub
parent ed33f21828
commit 6caea1c56e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ CalloutCard {
borderWidth: 1
implicitHeight: 290
implicitWidth: 305
implicitWidth: 324+2*borderWidth
hoverEnabled: true
dropShadow: d.highlight
borderColor: d.highlight ? Style.current.background : Style.current.border
@ -45,6 +45,7 @@ CalloutCard {
Layout.rightMargin: d.bannerImageMargins
Layout.topMargin: d.bannerImageMargins
Layout.preferredHeight: 170
Layout.preferredWidth: 324
active: !!d.bannerImageSource
sourceComponent: StatusImage {
id: bannerImage