Skip to content

Commit 686d65e

Browse files
committed
fix(style.css): mobile screen style working
1 parent c5868b6 commit 686d65e

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

css/style.css

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,37 @@ main div p {
9292
padding: 0.65em 1.125em;
9393
}
9494

95-
@media screen and (max-width: 450px) {
95+
@media screen and (max-width: 550px) {
96+
body {
97+
font-size: 0.75rem;
98+
}
99+
96100
header {
97101
height: 20%;
102+
flex-direction: column;
103+
}
104+
105+
header input,
106+
header form,
107+
header button {
108+
width: 100%;
109+
height: 33%;
110+
box-sizing: border-box;
111+
}
112+
113+
.common {
114+
padding: 0 1em 0 1em;
115+
border-radius: 0;
98116
}
99117

100118
main {
101119
height: 80%;
102120
}
121+
122+
main div p {
123+
padding: 1em 0;
124+
box-sizing: border-box;
125+
border: 1px solid white;
126+
}
127+
103128
}

0 commit comments

Comments
 (0)