Limit max width of blurb
This commit is contained in:
parent
707af2c11d
commit
1f8777178e
@ -14,7 +14,8 @@ Rectangle {
|
|||||||
required property string username
|
required property string username
|
||||||
|
|
||||||
radius: fontMetrics.lineSpacing / 2 + Nheko.paddingMedium
|
radius: fontMetrics.lineSpacing / 2 + Nheko.paddingMedium
|
||||||
width: parent.width ? parent.width : 0
|
width: parent.width ? Math.min(parent.width, 700) : 0
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
height: contents.implicitHeight + Nheko.paddingMedium * 2
|
height: contents.implicitHeight + Nheko.paddingMedium * 2
|
||||||
color: Nheko.colors.alternateBase
|
color: Nheko.colors.alternateBase
|
||||||
border.color: Nheko.theme.green
|
border.color: Nheko.theme.green
|
||||||
|
Loading…
Reference in New Issue
Block a user