Skip to content

Commit

Permalink
fix(dcellar-web-ui): add unsafe-inline for style
Browse files Browse the repository at this point in the history
  • Loading branch information
devinxl committed Nov 5, 2024
1 parent bc412dc commit 0920995
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions apps/dcellar-web-ui/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,8 @@ import * as flatted from 'flatted';

export default function Document() {
return (
<Html lang="en" className="light-theme" data-theme="light">
<Html lang="en" style={{ colorScheme: 'light' }} data-theme="light">
<Head>
<style>
{`
.light-theme {
color-scheme: light;
}
`}
</style>
<meta
name="google-site-verification"
content="9P1xIkjIzkjS3UiiTBjcjN5tfyh4Yk6FDKELgtTdMGE"
Expand Down

0 comments on commit 0920995

Please sign in to comment.