[buddypress-trac] [BuddyPress] #5280: Codex: Image in content area extends beyond container

buddypress-trac noreply at wordpress.org
Wed Dec 11 20:29:38 UTC 2013


#5280: Codex: Image in content area extends beyond container
-----------------------------------------+-----------------------------
 Reporter:  mercime                      |       Owner:  DJPaul
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  Future Release
Component:  codex.buddypress.org         |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+-----------------------------

Comment (by karmatosed):

 If we are doing proper image 'responsifying' we don't need to have any
 content-width set (some would argue shouldn't in retina age). It is
 usually there as a frame buster prevention and a bit of a legacy also in
 some cases of fixed width themes. I would lend to a 2 pronged attack with
 a content-width and bring in:

 {{{
 img {
   height: auto;
   /* Make sure images are scaled correctly. */
   max-width: 100%;
   /* Adhere to container width. */
 }
 }}}

 Then we can have it as 640px and allow for increase as responds.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5280#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list