Skip to content

Commit ab7876a

Browse files
committed
Add CSS for a missing device size: less than 321px width
1 parent 39eca99 commit ab7876a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

app/assets/stylesheets/custom.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,16 @@ div #README{
4747
list-style-type: none;
4848
display: inline-block;
4949
padding-top: 20px;
50-
width: 300px;
51-
height: 120px;
5250

51+
@media only screen and (min-width: 0px) {
52+
margin-left: -5px;
53+
width: 260px;
54+
height: 120px;
55+
}
56+
@media only screen and (min-width: 321px) {
57+
width: 300px;
58+
height: 120px;
59+
}
5360
@media only screen and (min-width: 560px) {
5461
padding: 20px 0px 0px 0px;
5562
margin: 0px 0px 0px 0px;

0 commit comments

Comments
 (0)