twitter/bootstrap — Issue #682: Issue inserting long text inserted within .media-grid
Author: ericrasch
Created: 2011-11-23 16:03:29+00:00
State: open

If text is inserted within the anchor tag inside a .media-grid (ex: as a label), and that text is longer/wider than the media itself, it will push the containing anchor out. If I hard code a width to the anchor, this keeps the text contained, but breaks the magic of the media grid obeying the image widths. The same issue applies to the height of the anchors when text does wrap.

Is there a way to detect image widths/heights and set a bounding width/height to the anchor tag?