Skip to content

Commit 1701453

Browse files
committed
Enhance responsive design in App.css for better viewport handling and overflow management
1 parent 6c0af6c commit 1701453

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

src/App.css

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,35 @@ body {
5858

5959
@media (max-width: 768px) {
6060
.App {
61+
width: 100vw; /* Ensure exact viewport width */
62+
max-width: 100vw;
63+
overflow-x: hidden;
64+
padding-left: 12px;
65+
padding-right: 12px;
66+
}
67+
68+
.App > div {
69+
width: 100% !important;
70+
margin-left: 0 !important;
6171
padding-left: 0 !important;
6272
padding-right: 0 !important;
63-
overflow-x: visible !important;
6473
}
6574

66-
.App > div,
6775
.App .w-full {
76+
width: 100% !important;
6877
padding-left: 0 !important;
6978
padding-right: 0 !important;
70-
margin-left: auto !important;
71-
margin-right: auto !important;
7279
}
7380

7481
.profile-card {
75-
margin: 0 !important;
82+
margin: 12px 0;
83+
}
84+
85+
/* Ensure no borders or margins causing the thin line */
86+
.App,
87+
.App > div,
88+
.App .w-full {
89+
border: none;
90+
margin: 0;
7691
}
7792
}

0 commit comments

Comments
 (0)