Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions app/app/src/components/RenderDocument.astro
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ const footerText = data.footer || null

</div>

<div class="page-warnings">
{!supportedLocales.includes(Astro.currentLocale ?? '') && (
<div class="page-warnings">

{!supportedLocales.includes(Astro.currentLocale ?? '') && (
<div class="unsupported-locale-warning">
<span class="icon icon-[mdi--warning-circle] icon-align"></span>
<p>
<b>Sorry,</b> this document is not available in your language yet.
</p>
</div>
)}

</div>
</div>
)}

<div class="main">

Expand Down Expand Up @@ -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;
Expand Down
Loading