1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

move table columns mixin to mixins.less

This commit is contained in:
Mark Otto
2012-02-21 15:18:05 -08:00
parent 575072b74b
commit 8665fa8c50
5 changed files with 501 additions and 5 deletions

View File

@@ -319,6 +319,15 @@
}
}
// Table grid system
// -------------------------
.tableColumns(@columnSpan: 1) {
float: none; // undo default grid column styles
width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 16; // 16 is total padding on left and right of table cells
margin-left: 0; // undo default grid column styles
}
// Make a Grid
// -------------------------
// Use .makeRow and .makeColumn to assign semantic layouts grid system behavior