Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix experimental notice in FF ESR (#1117)
Fixes #1106 where the experimental notice takes over most of the content area. <img alt="Screenshot 2024-03-14 at 11 06 52 AM" width="1728" src="https://private-user-images.githubusercontent.com/515050/312893019-757cc95c-b84b-421e-b34c-b9429b23f896.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA4Nzg5NDIsIm5iZiI6MTcxMDg3ODY0MiwicGF0aCI6Ii81MTUwNTAvMzEyODkzMDE5LTc1N2NjOTVjLWI4NGItNDIxZS1iMzRjLWI5NDI5YjIzZjg5Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMxOVQyMDA0MDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNTVlZTY2MGE5MGRhNmY1YjNiODJmNWJiOWVjNjA5OTk3ZDVkMjM0YjUzODA1NDAzYTRjOTFiMWFlYmZmODBiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ad2mS5a6hdiT6e7lc3TW1gXPbiw5faGZaCtXta0qDQU"> ## What problem is it solving? The experiemental-and-fun notice is styled with nested CSS which is not supported by Firefox ESR v115.x. Firefox v117.x introduced CSS nesting support. ## How is the problem addressed? This PR removes use of nested CSS for now. ## Testing Instructions - Install and launch Firefox ESR v115.x - Run `npm run dev` - Navigate to http://localhost:5400/website-server/ and observe the large notice - If the notice is missing, clear cookies for the current site and reload the page. - Apply this patch - Clear cookies for the current site, reload the page, and observe the notice is displayed reasonably at the bottom of the screen. <img width="456" alt="image" src="https://github.com/WordPress/wordpress-playground/assets/530877/2ccd26c6-50f8-4822-b84f-e1b2864bb3ef"> NOTE: Playground is failing to load in FF ESR from localhost, but it is likely unrelated. This is just a CSS change, and the problem occurs on both trunk and this branch.
- Loading branch information