Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.98k forks source link

Action Bar: Increasing default font size in global styles affects action bar styling #79258

Open jp-imagines opened 1 year ago

jp-imagines commented 1 year ago

Quick summary

Increasing the default font size for text in the FSE Styles pane causes the

Steps to reproduce

  1. On a Simple site, enable any Site Editing-compatible theme.
  2. Open the Styles pane in the Site Editor (Appearance > Editor > Styles).
  3. In the Styles pane, go to Typography > Text and set a custom font size (e.g. 55 px). Save changes.
  4. View the live site.

What you expected to happen

The action bar should not be affected.

What actually happened

All elements of the action bar (e.g. "Follow," "Edit Site," the "..." kebab menu) float outside of the action bar button. It specifically looks like the <ul> element inherits the custom font size, which increases the space available for the elements to render in (but doesn't actually affect the size of the text options):

AcIAiv.png

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Simple

Logs or notes

No response

cuemarie commented 1 year ago

📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain

📌 FINDINGS/SCREENSHOTS/VIDEO

Screenshots/Recordings

https://github.com/Automattic/wp-calypso/assets/27249804/f9f5e687-66a5-4171-9352-c33fe2125e50

Markup on 2023-07-12 at 15:08:00

📌 ACTIONS

davemart-in commented 1 year ago

Thanks! I added this to our bugs board.

annezazu commented 2 weeks ago

I can still replicate this!