feat: add extra padding to bottom of nexus pages

So you can scroll up slightly more than the bottom
Also reduce top spacing
This commit is contained in:
2 * r + 2 * t 2026-06-05 21:25:14 +10:00
parent c8bc87836b
commit b01137edf1

View file

@ -19,7 +19,7 @@ ColumnLayout {
default property Item contentChild
spacing: Tokens.spacing.extraExtraLarge
spacing: Tokens.spacing.extraLargeIncreased
RowLayout {
spacing: Tokens.spacing.largeIncreased
@ -52,9 +52,8 @@ ColumnLayout {
Layout.fillHeight: true
Layout.topMargin: -topMargin
Layout.bottomMargin: -bottomMargin
topMargin: Tokens.padding.large
bottomMargin: Tokens.padding.large
bottomMargin: Tokens.padding.extraLarge
contentHeight: root.contentChild?.implicitHeight ?? 0
contentItem.children: [root.contentChild]