[wp-trac] [WordPress Trac] #62793: Twenty Ten: Link styles breaks the style of the file block

WordPress Trac noreply at wordpress.org
Fri Jan 10 03:47:11 UTC 2025


#62793: Twenty Ten: Link styles breaks the style of the file block
----------------------------------------+------------------------------
 Reporter:  poena                       |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Bundled Theme               |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch has-testing-info  |     Focuses:
----------------------------------------+------------------------------

Comment (by devtanbir):

 @sainathpoojary I have tested your PR, and it's working fine. However, it
 would be better if you applied the same line-height on the front-end that
 the button is receiving from the editor. Here's the updated code:


 {{{
 .wp-block-file .wp-block-file__button {
     padding: 0.5em 1em;
     color: #ffffff;
     line-height: 1.5;
 }
 }}}


 Replying to [comment:3 sainathpoojary]:
 > Hey @poena,
 >
 > I’ve added a fix for the overridden padding in the File block of the
 Twenty Ten theme. Please have a look whenever you have a moment.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62793#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list