mirror of
https://github.com/primer/css.git
synced 2024-11-10 16:07:25 +03:00
Move .centered class from layout to utility
This commit is contained in:
parent
5a3215f51b
commit
45c25a7be9
@ -59,14 +59,6 @@
|
||||
padding-left: $grid-gutter;
|
||||
}
|
||||
|
||||
// Centers content horizontally. Can be used inside or outside the grid.
|
||||
.centered {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
// Equal width columns via table sorcery.
|
||||
.table-column {
|
||||
display: table-cell;
|
||||
|
@ -9,6 +9,17 @@
|
||||
.left { float: left; }
|
||||
|
||||
|
||||
// Layout
|
||||
|
||||
// Centers content horizontally. Can be used inside or outside the grid.
|
||||
.centered {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
|
||||
// Text alignment
|
||||
.text-right { text-align: right; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user