Closed (fixed)
Project:
Caption Filter
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
7 Apr 2013 at 07:26 UTC
Updated:
24 Apr 2013 at 04:40 UTC
Jump to comment: Most recent file
Caption Filter's CSS was originally written before the responsive design really took hold. Unfortunately, some of this module's CSS hasn't held up very well. A clean-up and optimization pass would be useful.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | caption-filter-responsiveness-1963526-1.patch | 1.29 KB | kmonty |
Comments
Comment #1
kmontyPatch below. I'd like a couple eyes on this before committing it to the project, as it changes the output markup and slightly adjusting the CSS, which could cause unexpected results on existing sites.
Comment #2
populist commentedI think these are pretty reasonable changes which seem mostly designed at not having the markup break when an image is placed inside larger than the container's width. I wouldn't go beyond this with responsive support (since that probably should be left up to the img element itself) but seems good.
Comment #3
kmontyYes, I resisted making left/right aligned images responsive because it's ultimately up to the site themer for how that should be handled.
(On my personal site, I generally only left/right align thumbnail images. I have responsive media queries to resize those images/containing divs as appropriate until a (max-width: 500px) breakpoint (all cellphones, regardless of orientation), at which point the "thumbnail" is allowed to be 100% of the width of the containing div.)
Comment #4
kmontyCommitted