diff --git a/lemmy-translations b/lemmy-translations index e78c744a..c88dd1e3 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit e78c744abe5c3824f9ca7de7f1ee086468385ee0 +Subproject commit c88dd1e3b36ee1617f1b86acf94c1b7946e97cd4 diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 93064d0a..a7d7e706 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -461,11 +461,3 @@ br.big { .totp-link { width: fit-content; } - -#app[data-adult-consent] { - filter: blur(10px); - -webkit-filter: blur(10px); - -moz-filter: blur(10px); - -o-filter: blur(10px); - -ms-filter: blur(10px); -} diff --git a/src/server/utils/create-ssr-html.tsx b/src/server/utils/create-ssr-html.tsx index f6f9ec58..cb0ec615 100644 --- a/src/server/utils/create-ssr-html.tsx +++ b/src/server/utils/create-ssr-html.tsx @@ -98,6 +98,16 @@ export async function createSsrHtml( ${helmet.title.toString()} ${helmet.meta.toString()} + + diff --git a/src/shared/components/app/app.tsx b/src/shared/components/app/app.tsx index 0c08cee0..4d1cbea2 100644 --- a/src/shared/components/app/app.tsx +++ b/src/shared/components/app/app.tsx @@ -40,7 +40,7 @@ export default class App extends Component { id="app" className="lemmy-site" ref={this.rootRef} - data-adult-consent={this.isoData.showAdultConsentModal} + data-adult-consent={this.isoData.showAdultConsentModal || null} >