Skip to content

Commit

Permalink
fix floated left img right margin
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Reagle committed Aug 27, 2012
1 parent 10343d8 commit 99ec648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions class.dzslides
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ $endfor$
section:nth-child(even) > a:not(:only-child) > img,
section:nth-child(even) > p:not(:only-child) > img {
float: left;
margin: 0px 40px 10px 0px;
padding: 0px 5px 0px 5px;
max-width: 400px; max-height: 300px;
/* border: 2px solid green; */
Expand Down
1 change: 1 addition & 0 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ <h1>End!</h1>
section:nth-child(even) > a:not(:only-child) > img,
section:nth-child(even) > p:not(:only-child) > img {
float: left;
margin: 0px 40px 10px 0px;
padding: 0px 5px 0px 5px;
max-width: 400px; max-height: 300px;
/* border: 2px solid green; */
Expand Down

0 comments on commit 99ec648

Please sign in to comment.