From 13cc6a2cf0891d2e2ed7b5d5efd2c15c399b6848 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Tue, 11 Feb 2025 23:35:35 +0800 Subject: [PATCH] fix some content exceeds the screen in landscape mode --- .../mobile/TransactionTagSelectionSheet.vue | 17 ++++++++++++----- .../mobile/TreeViewSelectionSheet.vue | 17 ++++++++++++----- .../mobile/TwoColumnListItemSelectionSheet.vue | 6 ++++++ 3 files changed, 30 insertions(+), 10 deletions(-) diff --git a/src/components/mobile/TransactionTagSelectionSheet.vue b/src/components/mobile/TransactionTagSelectionSheet.vue index d0801413..6821bd43 100644 --- a/src/components/mobile/TransactionTagSelectionSheet.vue +++ b/src/components/mobile/TransactionTagSelectionSheet.vue @@ -234,17 +234,24 @@ function onSheetClosed(): void { diff --git a/src/components/mobile/TwoColumnListItemSelectionSheet.vue b/src/components/mobile/TwoColumnListItemSelectionSheet.vue index 585a1a6f..7fd3d5ea 100644 --- a/src/components/mobile/TwoColumnListItemSelectionSheet.vue +++ b/src/components/mobile/TwoColumnListItemSelectionSheet.vue @@ -147,6 +147,12 @@ function onSheetClosed(): void { overflow-y: auto; } +@media (max-height: 629px) { + .primary-list-container, .secondary-list-container { + height: 240px; + } +} + .primary-list.list .item-inner { padding-right: 6px; }