2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Drop .center-block for .m-x-auto

- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
This commit is contained in:
Mark Otto
2016-02-06 15:40:25 -08:00
parent 612b824ae0
commit c59dbe56fe
5 changed files with 13 additions and 34 deletions
-1
View File
@@ -48,7 +48,6 @@
// // Layout
@import "mixins/clearfix";
@import "mixins/center-block";
// @import "mixins/navbar-align";
@import "mixins/grid-framework";
@import "mixins/grid";
-1
View File
@@ -1,5 +1,4 @@
@import "utilities/background";
@import "utilities/center-block";
@import "utilities/clearfix";
@import "utilities/pulls";
@import "utilities/screenreaders";
-7
View File
@@ -1,7 +0,0 @@
// Center-align a block level element
@mixin center-block() {
display: block;
margin-left: auto;
margin-right: auto;
}
-3
View File
@@ -1,3 +0,0 @@
.center-block {
@include center-block();
}