[wp-trac] [WordPress Trac] #53409: WordPress 5.8 - widgets as blocks - max-width is missing for custom icons

WordPress Trac noreply at wordpress.org
Tue Jun 15 11:58:20 UTC 2021


#53409: WordPress 5.8 - widgets as blocks - max-width is missing for custom icons
--------------------------+-----------------------------
 Reporter:  harmr         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  css           |
--------------------------+-----------------------------
 With our plugin www.mapsmarker.com we use a custom block which with WP 5.8
 can also be now added as widget. For this block we added a custom SVG -
 with WP 5.8-beta1 though, this image is not resized:
 [[Image(https://www.mapsmarker.com/widget-icon-unresized.PNG)]]

 It would be great if the CSS style max-width:100% could be added to those
 custom icons, so that the icon is displayed with the proper size:
 [[Image(https://www.mapsmarker.com/widget-icon-resized.PNG)]]

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


More information about the wp-trac mailing list