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
2 changed files with 4 additions and 2 deletions
|
@ -579,7 +579,8 @@ a:active {
|
|||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue