diff --git a/app/app/src/components/RenderDocument.astro b/app/app/src/components/RenderDocument.astro index 4d61427..0dcbcf1 100644 --- a/app/app/src/components/RenderDocument.astro +++ b/app/app/src/components/RenderDocument.astro @@ -60,18 +60,18 @@ const footerText = data.footer || null -
+{!supportedLocales.includes(Astro.currentLocale ?? '') && ( +
- {!supportedLocales.includes(Astro.currentLocale ?? '') && (

Sorry, this document is not available in your language yet.

- )} -
+
+)}
@@ -194,6 +194,10 @@ const footerText = data.footer || null @apply flex justify-center items-center; @apply w-full mt-4 mb-4; + @media print { + @apply hidden; + } + .unsupported-locale-warning { @apply flex justify-center items-center gap-2; @apply bg-orange-100;