Browse Source

Stackable grid now pads unless inside a segment or nested grid

pull/1875/head
jlukic 10 years ago
parent
commit
75fa02411d
1 changed files with 5 additions and 7 deletions
  1. 12
      src/definitions/collections/grid.less

12
src/definitions/collections/grid.less

@ -1667,10 +1667,6 @@
.ui.stackable.grid {
display: block !important;
width: auto;
/* Stackable grid should always be padded on mobile ?
margin-left: -(@stackableGutter / 2) !important;
margin-right: -(@stackableGutter / 2) !important;
*/
margin-left: 0em !important;
margin-right: 0em !important;
padding: 0em;
@ -1693,9 +1689,11 @@
padding: 0em;
}
.ui.stackable.page.grid {
margin-left: 0em !important;
margin-right: 0em !important;
/* Don't pad inside segment or nested grid */
.ui.grid .ui.stackable.grid,
.ui.segment > .ui.stackable.page.grid {
margin-left: -(@stackableGutter / 2) !important;
margin-right: -(@stackableGutter / 2) !important;
}
/* Equal Height Stackable */

Loading…
Cancel
Save