Improve mobile responsiveness across expense tracking interface

- Add horizontal margins to modals on mobile devices
- Optimize grid layouts with smaller breakpoints (md→sm)
- Make action buttons full-width on mobile with touch optimization
- Adjust text sizes and spacing for better mobile readability
- Enhance date filter and export controls for mobile interaction
This commit is contained in:
2025-07-04 10:44:42 -04:00
parent e66d6ad1f2
commit 2774b4050f
5 changed files with 96 additions and 62 deletions

View File

@@ -253,7 +253,7 @@ const downloadAllReceipts = async () => {
}
.modal-content {
@apply bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-2xl w-full max-h-[90vh] overflow-hidden;
@apply bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-2xl w-full max-h-[90vh] overflow-hidden mx-4 sm:mx-0;
}
.modal-header {

View File

@@ -22,8 +22,8 @@
</div>
</div>
<!-- Expense Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<!-- Expense Grid - Mobile optimized -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4">
<div
v-for="expense in expenses"
:key="expense.Id"

View File

@@ -255,7 +255,7 @@ watch(() => props.modelValue, (isOpen) => {
}
.modal-content {
@apply bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-md w-full max-h-[90vh] overflow-hidden;
@apply bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-md w-full max-h-[90vh] overflow-hidden mx-4 sm:mx-0;
}
.modal-header {

View File

@@ -258,7 +258,7 @@ watch(() => props.modelValue, (isOpen) => {
}
.modal-content {
@apply bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-4xl w-full max-h-[90vh] overflow-hidden;
@apply bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-4xl w-full max-h-[90vh] overflow-hidden mx-2 sm:mx-4;
}
.modal-header {