[wp-trac] [WordPress Trac] #24238: Twenty Thirteen doesn't pad `alignnone` images that are inserted into a post on the same line

WordPress Trac noreply at wordpress.org
Wed May 1 22:55:38 UTC 2013


#24238: Twenty Thirteen doesn't pad `alignnone` images that are inserted into a
post on the same line
---------------------------+---------------------------
 Reporter:  ryan           |       Owner:  lancewillett
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |
---------------------------+---------------------------

Comment (by lancewillett):

 Replying to [comment:5 obenland]:
 > I was under the impression that images that are not aligned are meant to
 be inline with the surrounding text and a margin would be unwanted.

 "Align none" means don't float left or right or center. In other default
 themes the entry content container has a much higher line-height, which
 takes care of adding a bit of room in between inline items. Twenty
 Thirteen doesn't so the images needs some breathing room anyway.

 Can you think of a use case where this would break something? I tested
 with Image Test from Theme Unit Test data and it actually improved things
 visually for the "alignnone" cases. :)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24238#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list