Skip to content

Commit

Permalink
When width < 1100px, img align center. Otherwise, left. [FIX]
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Apr 20, 2014
1 parent b394b78 commit 9541f81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yue.css
Expand Up @@ -101,6 +101,7 @@
.yue figure img {
display: block;
max-width: 100%;
margin: auto auto 4px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
Expand Down Expand Up @@ -242,7 +243,7 @@
margin-left: 0;
}
.yue figure img {
margin: auto auto 4px;
margin: 0 0 4px;
}
.yue figure figcaption:before {
width: 25%;
Expand Down

0 comments on commit 9541f81

Please sign in to comment.