Skip to content

Commit 780319d

Browse files
committed
responsive detail side for smaller and bigger screens
1 parent 3da44b1 commit 780319d

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
11
:host {
2-
width: 25%;
32
background-color: #373737;
43
}
54

5+
@media only screen and (min-width: 1601px) {
6+
:host {
7+
width: 20%;
8+
}
9+
}
10+
11+
@media only screen and (max-width: 1600px) {
12+
:host {
13+
width: 25%;
14+
}
15+
}
16+
17+
@media only screen and (max-width: 1300px) {
18+
:host {
19+
width: 30%;
20+
}
21+
}
22+
623
.detail {
724
padding: 1.5rem 1rem;
825
}

0 commit comments

Comments
 (0)