Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input-group within card-deck #21010

Closed
121052 opened this issue Oct 25, 2016 · 4 comments
Closed

Input-group within card-deck #21010

121052 opened this issue Oct 25, 2016 · 4 comments

Comments

@121052
Copy link

121052 commented Oct 25, 2016

In Chrome I get a bug when adding input group under a card-deck. The spacing between buttons and input are off. The reason seem to be the border-spacing: 1.25rem 0; under .card-deck.
Changing the border-collapse: separate; to border-collapse: collapse; under .input-group seems to fix the problem. However, it also affects the spacing between each card.

@benwa
Copy link

benwa commented Oct 25, 2016

I just got this too and made a pen to demo: http://codepen.io/_benwa/pen/ozVAgo?editors=1000#0

It does work correctly with flexmode

@mdo
Copy link
Member

mdo commented Oct 26, 2016

Likely the display: table styles interfering with one another. It's the risk we run of building the card deck the way we have... 🤔

@owre
Copy link

owre commented Oct 27, 2016

Same thing happens when input-group is used inside a table demo

@mdo mdo added this to the v4.0.0-alpha.6 milestone Dec 22, 2016
@mdo
Copy link
Member

mdo commented Dec 22, 2016

Won't be an issue anymore with #21389—we're going all in on flexbox, thereby removing the table-based styles like the ones powering input groups.

@mdo mdo closed this as completed Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants