This commit is contained in:
Simon Martens
2022-11-27 17:40:55 +01:00
parent 06e228a5a2
commit ec16c4b02e
8 changed files with 39 additions and 70 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="h-full w-full" lang="de" id="top">
<html class="h-full w-full overflow-hidden" lang="de" id="top">
<head>
@await Html.PartialAsync("/Views/Shared/_Head.cshtml")

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="h-full w-full" lang="de" id="top">
<html class="h-full w-full overflow-hidden" lang="de" id="top">
<head>
@await Html.PartialAsync("/Views/Shared/_Head.cshtml")
@@ -7,13 +7,13 @@
<body class="h-full w-full">
<div class="flex flex-col h-full">
@await Html.PartialAsync("/Views/Shared/_HKWMenu.cshtml")
<main role="main" class="mb-6 w-full desktop:max-w-screen-desktop mx-auto grow">
@RenderBody()
</main>
<div class="w-full">
@await Html.PartialAsync("/Views/Shared/_Footer.cshtml")
</div>
@await Html.PartialAsync("/Views/Shared/_HKWMenu.cshtml")
<main role="main" class="mb-6 w-full desktop:max-w-screen-desktop mx-auto grow">
@RenderBody()
</main>
<div class="w-full">
@await Html.PartialAsync("/Views/Shared/_Footer.cshtml")
</div>
</div>
@await Html.PartialAsync("/Views/Shared/_ScrollButton.cshtml")
@await RenderSectionAsync("JavaScript", false)

View File

@@ -3,7 +3,9 @@
@if (Model.Letter.HasText) {
@if (Model.Letter.ParsedZHString != null && Model.ShowZHData) {
<div class="ha-tooltip">
<div class="ha-pill">
<div class="ha-pill pr-1.5">
@* <svg class="inline-block mr-1" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg> *@
<svg class="mx-0.5 w-3 h-3 inline relative bottom-[0.1rem] text-slate-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path></svg>
<span>@Html.Raw(Model.Letter.ParsedZHString)</span>
</div>
</div>