.media doesn't play well with absolutely positioned elements #36

Open
ewinslow opened this Issue Aug 6, 2010 · 3 comments

Comments

Projects
None yet
2 participants
@ewinslow

ewinslow commented Aug 6, 2010

For example, if I have a custom tooltip that appears when I hover over something in the .media block, since the .media block is overflow: hidden, the content just gets clipped.

I checked facebook since they have working tooltips and it looks like they're using a combination of display:table-cell for the "body" and the clearfix solution for the .media block itself.

I also checked display:inline-block on the body and that seems to work ok.

@stubbornella

This comment has been minimized.

Show comment
Hide comment
@stubbornella

stubbornella Feb 10, 2011

Owner

We should change the media block to use the facebook method. Nan recently commented on my blog about it. It seems like a good solution.

Owner

stubbornella commented Feb 10, 2011

We should change the media block to use the facebook method. Nan recently commented on my blog about it. It seems like a good solution.

@ewinslow

This comment has been minimized.

Show comment
Hide comment
@ewinslow

ewinslow Feb 11, 2011

The one major issue I can recall having with the table-cell method is that it breaks down when a very long unbreakable string is part of the content. Urls are a common culprit here, but I've heard of people complaining about long german words too.

http://translate.google.com/#en|de|speed%20limit

The one major issue I can recall having with the table-cell method is that it breaks down when a very long unbreakable string is part of the content. Urls are a common culprit here, but I've heard of people complaining about long german words too.

http://translate.google.com/#en|de|speed%20limit

@stubbornella

This comment has been minimized.

Show comment
Hide comment
@stubbornella

stubbornella Mar 8, 2011

Owner

oof, right now it looks like we have half one method, half another. The worst of both worlds.

Owner

stubbornella commented Mar 8, 2011

oof, right now it looks like we have half one method, half another. The worst of both worlds.

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