Skip to content

Commit

Permalink
Scope the wrapper margin changes to only the bottom variant
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Oct 3, 2014
1 parent e985a6d commit 3bab89b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/scss/popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@
display: inline-block;
box-sizing: inherit;
overflow: hidden;
margin: 0 0 0 50%;
transform: translateX(-50%);
margin: 0;

// BACKDROP
background-color: $popover-color-background;
Expand Down
5 changes: 5 additions & 0 deletions src/scss/variants/bigfoot-bottom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@
transform: translateY(0);
}
}

.bigfoot-footnote__wrapper {
margin: 0 0 0 50%;
transform: translateX(-50%);
}

0 comments on commit 3bab89b

Please sign in to comment.