Browse Source

Fixes #1491, double padding on padded stackable grid

pull/1500/head
jlukic 10 years ago
parent
commit
2dd4ccf97b
1 changed files with 8 additions and 4 deletions
  1. 12
      src/definitions/collections/grid.less

12
src/definitions/collections/grid.less

@ -1581,10 +1581,14 @@
.ui.stackable.grid {
display: block !important;
width: auto;
margin-left: -(@stackableGutter / 2);
margin-right: -(@stackableGutter / 2);
margin-left: -(@stackableGutter / 2) !important;
margin-right: -(@stackableGutter / 2) !important;
padding: 0em;
}
.ui.stackable.padded.grid:not(.vertically) {
margin-left: -(@stackableGutter / 2) !important;
margin-right: -(@stackableGutter / 2) !important;
}
.ui.stackable.grid > .row > .wide.column,
.ui.stackable.grid > .wide.column,
.ui.stackable.grid > .column.grid > .column,
@ -1603,8 +1607,8 @@
padding: 0em;
}
.ui.stackable.grid .column > .ui.stackable.grid {
margin-left: -(@stackableGutter);
margin-right: -(@stackableGutter);
margin-left: -(@stackableGutter) !important;
margin-right: -(@stackableGutter) !important;
}
.ui.stackable.celled.grid > .column:not(.row),

Loading…
Cancel
Save