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

Rows in generic tile are misaligned if <p class="slds-truncate"> is empty #51

Closed
dancinllama opened this Issue Oct 14, 2015 · 1 comment

Comments

Projects
None yet
5 participants
@dancinllama

dancinllama commented Oct 14, 2015

I'm using several instances of the generic title outlined here: http://www.lightningdesignsystem.com/components/tiles in a lightning component.

One thing I've noticed is that if the <p class="slds-truncate"> tag is missing content (rather it is empty), then the next row is pushed up into its place, resulting in a mismatch between the label and the element.

The easy fix currently is to add a non-breaking space at the end of the values, but regardless there should be a less hacky way to handle empty p tags.

@stefsullrew stefsullrew added the bug label Nov 4, 2015

@rickschmoo rickschmoo added this to the 02/16 milestone Feb 4, 2016

@kaelig kaelig removed this from the 02/16 milestone Jun 20, 2016

@kaelig

This comment has been minimized.

Contributor

kaelig commented Jul 11, 2016

This seems to have been fixed in a recent release, as I couldn't reproduce this issue.

Feel free to re-open it if that's still an issue.

@kaelig kaelig closed this Jul 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment