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

Add top border to card header if the header isn't the first child #18217

Closed
wants to merge 1 commit into from

Conversation

defsdoor
Copy link

This allows a card to have multiple headers.

I chose to do this rather than add a sub-header class.

This allows a card to have multiple headers.

I chose to do this rather than add a sub-header class.
@cvrebert cvrebert changed the title Add top border to card header if the header isnt the first child Add top border to card header if the header isn't the first child Nov 11, 2015
@mdo
Copy link
Member

mdo commented Nov 15, 2015

I could see this backfiring where some random hidden element would cause this to glitch out. Thanks, but we'll pass for now on making this default behavior.

@mdo mdo closed this Nov 15, 2015
@defsdoor
Copy link
Author

I considered that when I submitted this but I saw it being identical in constraint of use as the classes that add borders on last-child. For example add an hidden element after a footer and it will screw the borders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants