Skip to content

Commit

Permalink
fix mobile style
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jul 24, 2017
1 parent 41578d5 commit e1212ec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion demo/demo.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
body {
max-width: 700px;
margin: 0 auto;
padding: 45px;
padding: 45px 10px;
}

.example {
Expand All @@ -13,6 +13,12 @@ body {
border: 1px solid #ddd;
}

@media (max-width:500px) {
.example {
padding: 39px 10px 14px;
}
}

.example:after {
content: "Example";
position: absolute;
Expand Down

0 comments on commit e1212ec

Please sign in to comment.