chore(community/popups): remove padding workarounds

This commit is contained in:
Patryk Osmaczko 2022-06-10 12:08:31 +02:00 committed by osmaczko
parent 7566466a49
commit 9db111b0e6
2 changed files with 3 additions and 14 deletions

View File

@ -23,13 +23,7 @@ StatusModal {
property var store
width: 640
// Code below is needed because StatusModal content padding is messed up
// FIXME: when StatusModal is reworked
topPadding: 64 + 16 // 64 is header height
leftPadding: 16
rightPadding: 16
bottomPadding: 71 + 16 // 71 is footer height
padding: 16
header.title: qsTr("Create New Community")

View File

@ -17,13 +17,8 @@ StatusModal {
signal joined
// Code below is needed because StatusModal content padding is messed up
// FIXME: when StatusModal is reworked
width: undefined // popup is able to determine size from its content
topPadding: 64 + 16 // 64 is header height
leftPadding: 16
rightPadding: 16
bottomPadding: 71 + 16 // 71 is footer height
width: undefined // popup is able to determine size from its content
padding: 16
header.title: qsTr("Welcome to %1").arg(name)