[wp-trac] [WordPress Trac] #59263: Twenty Nineteen: File Block can only center the text link (was: The Twenty Nineteen Theme: File Block is not centered on the front end.)

WordPress Trac noreply at wordpress.org
Fri Sep 1 18:05:18 UTC 2023


#59263: Twenty Nineteen: File Block can only center the text link
-----------------------------+------------------------------
 Reporter:  truptikanzariya  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Bundled Theme    |     Version:  5.0
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  css
-----------------------------+------------------------------
Changes (by sabernhardt):

 * focuses:   => css
 * component:  Themes => Bundled Theme
 * version:  trunk => 5.0


Comment:

 Thanks for the report!

 The Center alignment setting apparently never worked on the Download link,
 when it is included in the File block, with Twenty Nineteen. The Download
 link would need to honor the Center setting in both the editor and the
 front end, and the text link would need centering within the editor too.

 The PDF embed is the full block width, so it does not need centering.
 Twenty Nineteen aligns this block with paragraphs and other content
 blocks, not according to the page (see #58441).

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


More information about the wp-trac mailing list