summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/DiveList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 5c1633a2b..5c260028e 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -256,8 +256,8 @@ Kirigami.ScrollablePage {
Rectangle {
id: dateBox
visible: section != ""
- height: section == "" ? 0 : 2 * Kirigami.Units.gridUnit
- width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit
+ height: section == "" ? 0 : parent.height - Kirigami.Units.smallSpacing
+ width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit * PrefDisplay.mobile_scale
color: subsurfaceTheme.primaryColor
radius: Kirigami.Units.smallSpacing * 2
antialiasing: true