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

Fix vertical alignment issue on floated label in list group item #18579

Closed
wants to merge 2 commits into from

Conversation

gaga1227
Copy link

Fix #18574
Adding a position adjustment to compensate vertical positioning difference due to different font-size and line-height values.

.list-group-item .label.pull-#{$breakpoint}-left,
.list-group-item .label.pull-#{$breakpoint}-right {
position: relative;
top: #{(($line-height / .75) - 1 - .5) / 2}em;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented 6 spaces, but was indented 8 spaces

@gaga1227 gaga1227 changed the title Fix vertical alignment issue on floated label in list group item #18574 Fix vertical alignment issue on floated label in list group item Dec 15, 2015
@mdo
Copy link
Member

mdo commented Oct 10, 2016

I'm unsure exactly what the fix should be here, but I don't think this is the right one just yet. Going to close this out and leave the issue open until I can find a better solution that doesn't require extra positioning on top of a float utility as used today. Thanks though!

@mdo mdo closed this Oct 10, 2016
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.

4 participants