Inconsistent Admin Bar module styling between themes #888
Comments
|
Noticed this just earlier as well too. Let's fix it for next release. |
|
IB |
|
@felixarntz after digging into this a bit, I'm realizing that using After reaching out to a few of my colleagues, it seems that it's best to use absolute units instead, such as Let me know if this is okay and I'll update the IB before continuing. Moving to blocked for now. |
|
@aaemnnosttv Using |
|
|









Bug Description
The content displayed in Site Kit's admin bar varies in appearance when different themes are activated:
Twenty Nineteen
Twenty Twenty
This appears to be due to different relative font-size values applied to the
<html>element by each theme. This value should be fixed on the admin bar app's element so that it doesn't inherit this relative sizing.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
The problem is that the styles use
remunits which are specifically relative to the value defined on the<html>element which often varies from theme to theme.These are generally the right unit to use, but in our case we need our components to remain consistent between wp-admin and the admin bar displayed on the front end.
pxunits instead ofremChangelog entry
The text was updated successfully, but these errors were encountered: