Added hypenation to BoardCardComponent title on large displays

This commit is contained in:
Mia Rose Winter 2024-01-21 15:14:28 +01:00
parent 152b775ea7
commit ab2da2a2da
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -1,6 +1,7 @@
<section class="w-80 max-w-xs">
@using System.Globalization
<section class="w-80 max-w-xs">
@if (!string.IsNullOrWhiteSpace(Heading)) {
<h2 class="text-2xl lg:text-4xl mb-3">@Heading</h2>
<h2 class="text-2xl lg:text-4xl lg:hyphens-auto mb-3" lang="@CultureInfo.CurrentCulture">@Heading</h2>
}
@ChildContent
</section>