mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 04:28:49 +03:00
Limit max width of blurb
This commit is contained in:
parent
707af2c11d
commit
1f8777178e
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ Rectangle {
|
|||
required property string username
|
||||
|
||||
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
|
||||
color: Nheko.colors.alternateBase
|
||||
border.color: Nheko.theme.green
|
||||
|
|
Loading…
Reference in a new issue