[wp-trac] [WordPress Trac] #55626: Full Site Editing - Typography : Active font size bug

WordPress Trac noreply at wordpress.org
Wed Apr 27 12:16:03 UTC 2022


#55626: Full Site Editing - Typography : Active font size bug
------------------------------------+-----------------------------
 Reporter:  igorradovanov           |      Owner:  (none)
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  General                 |    Version:  trunk
 Severity:  trivial                 |   Keywords:
  Focuses:  ui, accessibility, css  |
------------------------------------+-----------------------------
 There is a minor CSS bug caused by the dynamic width set on the Font size
 button within the Typography -> Styles section.
 **
 How to replicate the issue?**

 Go to Styles -> Typography -> Text, change the Appearance from the
 dropdown, and the active font size will jump on the screen from right to
 left and back.

 Before suggested fix:
 [https://www.dropbox.com/s/5pwvsbn73askodt/Animation.gif?dl=0]

 **How to fix the issue?**

 Switch from percentage width to fixed-width (like ''vw'' or ''px'')
 resolves the issue.

 After the suggested fix:
 https://www.dropbox.com/s/dgfjut05t7wq95i/Animation-2.gif?dl=0

 I'm happy to push the patch.

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


More information about the wp-trac mailing list