fix: add width constraints to prevent horizontal overflow on mobile

Added max-width: 100% and overflow-x: hidden to main-content and cospend-main containers to prevent child elements from forcing horizontal scroll on mobile devices.
This commit is contained in:
2025-12-09 14:35:43 +01:00
parent 20cf1e2406
commit 8a25305893
2 changed files with 4 additions and 0 deletions

View File

@@ -81,6 +81,8 @@
.main-content {
flex: 1;
max-width: 100%;
overflow-x: hidden;
transition: margin-right 0.3s ease-out;
}

View File

@@ -275,6 +275,8 @@
.cospend-main {
margin: 0 auto;
padding: 2rem;
max-width: 100%;
overflow-x: hidden;
}
h1 {