Skip to content

Commit 0133ab0

Browse files
committed
improve mobile styling
1 parent 0079100 commit 0133ab0

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

site/components/App/styles.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
}
7474

7575
.plugin {
76-
width: 16.66%;
7776
font-size: 0.9rem;
7877
display: inline-block;
7978
padding: 18px 0px;
@@ -86,6 +85,22 @@
8685
border-left: 1px solid #eee;
8786
}
8887

88+
@media (max-width: 480px) {
89+
.plugin {
90+
width: 33.33%;
91+
}
92+
93+
.plugin:nth-child(4) {
94+
border-left: 1px solid #eee;
95+
}
96+
}
97+
98+
@media (min-width: 481px) {
99+
.plugin {
100+
width: 16.66%;
101+
}
102+
}
103+
89104
.center {
90105
text-align: center;
91106
}

0 commit comments

Comments
 (0)