fix: add inline <head><style> to ensure the order of declared css layers as much as possible (#9123)
Should help alleviate some problems outlined in https://github.com/payloadcms/payload/issues/8878
This commit is contained in:
@@ -141,6 +141,9 @@ export const RootLayout = async ({
|
||||
|
||||
return (
|
||||
<html data-theme={theme} dir={dir} lang={languageCode}>
|
||||
<head>
|
||||
<style>{`@layer payload-default, payload;`}</style>
|
||||
</head>
|
||||
<body>
|
||||
<RootProvider
|
||||
config={clientConfig}
|
||||
|
||||
Reference in New Issue
Block a user