bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Column Condensed remove padding-left and padding-right

Open eratzlaff opened this issue 13 years ago • 6 comments

If you want to have a row of input without space between the input to mimic some type of table.

.col-condensed {
  margin-left: 0px;
  margin-right: 0px;
  div[class^="col-"]{
    padding-left: 0px;
    padding-right: 0px;
  }
}

Example of use

<div class="row col-condensed">
  <div class="col-4"></div>
  <div class="col-4"></div>
  <div class="col-4"></div>
</div>

Alternative use another name for the class, or maybe add 1px for padding. Please fix my less code if its wrong.

eratzlaff avatar Aug 05 '13 21:08 eratzlaff

We won't be adding this for now.

mdo avatar Aug 05 '13 21:08 mdo

@mdo Are there some alternative currently on the css which I don't have seen?

eratzlaff avatar Aug 05 '13 21:08 eratzlaff

There's no alternative because this functionality doesn't exist in BS3, which is why I said we wouldn't be adding it at this point.

mdo avatar Aug 05 '13 21:08 mdo

Ok. Maybe 3.1.0 By side: Great job. I love the new BS3.

eratzlaff avatar Aug 05 '13 21:08 eratzlaff

it would make this framework more mature to allow for easier layouts without padding when warranted. +1 for no-padding columns, like col-xs-12-np

34r7h avatar Jun 16 '14 23:06 34r7h

We won't be adding more resets or variations to every column class. That's unmaintainable and adds so much bloat for so little value.

mdo avatar Jun 17 '14 01:06 mdo