[wp-trac] [WordPress Trac] #62376: WP 6.7: Adding Anchor Link to Media & Text Block Sets Link to Inline-Block

WordPress Trac noreply at wordpress.org
Mon Nov 11 15:51:51 UTC 2024


#62376: WP 6.7: Adding Anchor Link to Media & Text Block Sets Link to Inline-Block
--------------------------+---------------------------------------
 Reporter:  ajmaurya      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:  2nd-opinion needs-testing
  Focuses:  template      |
--------------------------+---------------------------------------
 When adding an anchor link to the Media & Text block, the following CSS
 style is applied, causing the media to display at a reduced size.

 Testing with a medium media size results in the image width being limited
 to 300px, making the media appear too small.

 In the Editor the media size looks perfect.

 {{{
 .wp-block-media-text__media a {
     display: inline-block;
 }
 }}}

 Demo -
 https://share.zight.com/7KuN5mYJ

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


More information about the wp-trac mailing list