Skip to content

Commit abe5296

Browse files
committed
fix: mobile phone layout
1 parent eea8ca2 commit abe5296

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

src/App.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
border-radius: 12px;
2424
backdrop-filter: blur(10px);
2525
border: 1px solid rgba(255, 255, 255, 0.2);
26+
max-width: 500px;
27+
box-sizing: border-box;
28+
margin-left: auto;
29+
margin-right: auto;
2630
}
2731

2832
.audio-player h2 {
@@ -77,3 +81,26 @@
7781
color: #4a5568;
7882
}
7983
}
84+
85+
@media (max-width: 600px) {
86+
#root {
87+
padding: 1rem;
88+
}
89+
.logo {
90+
max-width: 90vw;
91+
height: auto;
92+
}
93+
.audio-player {
94+
max-width: 100%;
95+
padding: 0 0.5rem 1rem 0.5rem;
96+
}
97+
.audio-player audio {
98+
max-width: 100%;
99+
}
100+
.audio-player h2 {
101+
font-size: 1.1rem;
102+
}
103+
.audio-player p {
104+
font-size: 0.95rem;
105+
}
106+
}

0 commit comments

Comments
 (0)