[wp-trac] [WordPress Trac] #36318: Twenty Fifteen: Custom logo can be distorted unexpectedly

WordPress Trac noreply at wordpress.org
Thu Mar 24 04:13:11 UTC 2016


#36318: Twenty Fifteen: Custom logo can be distorted unexpectedly
---------------------------+-------------------
 Reporter:  iamtakashi     |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  4.5
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-------------------
 In [37077] on #36255, `flex-height` was allowed but not `flex-width`. This
 causes logo to be unexpectedly distorted.

 '''Steps to reproduce'''
 * Upload a logo image, say 500px by 500px.
 * Leave the cropping tool as it is and click "Crop Image" button.
 * Save the customizer.

 '''What happens'''
 The logo is distorted. This is because of `flex-height` that respects the
 size of cropped image, in this case, 500px because we didn't touch. But
 the width is restricted by the suggested size, 248px.

 [[Image(https://cldup.com/R4ZpvCGXea.png)]]

 [[Image(https://cldup.com/_NhTppK6cI.png)]]

 We also need `flex-width` to be allowed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36318>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list