forked from mirror/_s
Remove unnecessary margin-top and margin-bottom from center-block mixin.
Setting top and bottom margins is not necessary to center the element, and it can potentially override the margins set by another rule.
This commit is contained in:
parent
6b2e7c8b44
commit
3d6bd4df39
|
@ -7,7 +7,8 @@
|
|||
// Center block
|
||||
@mixin center-block {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
// Clearfix
|
||||
|
|
Reference in New Issue