Skip to content

Commit

Permalink
added CSS reset for figure element, closes dimsemenov#263, thanks to @…
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov committed Nov 15, 2013
1 parent 2ff1692 commit 25cc172
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/magnific-popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ img.mfp-img {
display: block;
font-size: 12px;
line-height: 14px; }
.mfp-figure figure {
margin: 0; }

.mfp-bottom-bar {
margin-top: -36px;
Expand Down
3 changes: 3 additions & 0 deletions src/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,9 @@ button {
font-size: 12px;
line-height: 14px;
}
figure {
margin: 0;
}
}
.mfp-bottom-bar {
margin-top: -$image-padding-bottom + 4;
Expand Down

0 comments on commit 25cc172

Please sign in to comment.