CSS Rendering Issue: Missing fallback for light-dark() causes transparent backgr
-
Hi team,
I’ve encountered a rendering issue with the Query Monitor UI when accessing the WordPress dashboard from older browsers (specifically legacy Chrome builds) that do not yet support the modern
light-dark()CSS function.Currently, UI variables like
--qm-panel-bgand--qm-container-bgrely exclusively on thelight-dark()function. When a legacy browser fails to parse this syntax, it drops the declaration entirely. As a result, elements like.qm-containerand#query-monitor-mainare left without a background color, rendering the entire Query Monitor panel transparent and making the text unreadable over the WP admin interface.To ensure graceful degradation, would it be possible to introduce a standard hexadecimal fallback directly preceding the modern declarations in
query-monitor.css?
You must be logged in to reply to this topic.