fix: improve mobile responsiveness of cospend page
All checks were successful
CI / update (push) Successful in 23s

Reduced padding on mobile screens (max-width: 600px) to prevent horizontal overflow and ensure header spans full width. Updated BarChart, DebtBreakdown, EnhancedBalance components and recent activity section.
This commit is contained in:
2025-12-09 14:31:27 +01:00
parent 146aeb9d38
commit aa0942ba82
4 changed files with 23 additions and 1 deletions

View File

@@ -323,6 +323,12 @@
}
}
@media (max-width: 600px) {
.chart-container {
padding: 0.75rem;
}
}
canvas {
max-width: 100%;
height: 100% !important;

View File

@@ -242,4 +242,14 @@
font-size: 0.85rem;
text-align: right;
}
@media (max-width: 600px) {
.debt-breakdown {
padding: 0.75rem;
}
.debt-section {
padding: 0.75rem;
}
}
</style>

View File

@@ -333,8 +333,9 @@
.balance-card {
min-width: unset;
width: 100%;
padding: 1rem;
}
.balance-card.enhanced {
min-width: unset;
}
@@ -343,6 +344,7 @@
flex-direction: column;
gap: 0.75rem;
align-items: flex-start;
padding: 0.75rem;
}
.transaction-count {

View File

@@ -676,6 +676,10 @@
margin-bottom: 1rem;
}
.recent-activity {
padding: 0.75rem;
}
.actions {
flex-direction: column;
align-items: center;