scaling problem

This commit is contained in:
Simon Martens
2025-10-07 17:54:10 +02:00
parent 7f73d86fbb
commit bbc2323663
5 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
<div class="max-w-none mx-auto px-8"> <div class="max-w-none mx-auto px-8">
<div class="mb-10 xl:mb-0 sticky top-0 "> <div class="mb-10 lg:mb-0 sticky top-0 ">
{{ template "_header_with_toggle" .model }} {{ template "_header_with_toggle" .model }}
</div> </div>

View File

@@ -5,7 +5,7 @@
{{ template "_scrollspy_layout" .model }} {{ template "_scrollspy_layout" .model }}
<!-- Mobile Header (shown on smaller screens) --> <!-- Mobile Header (shown on smaller screens) -->
<div class="xl:hidden mb-10 w-full"> <div class="lg:hidden mb-10 w-full">
{{ template "_header_with_toggle" .model }} {{ template "_header_with_toggle" .model }}
</div> </div>

View File

@@ -3,9 +3,9 @@
{{- $agents := .Agents -}} {{- $agents := .Agents -}}
{{- $sorted := .Sorted -}} {{- $sorted := .Sorted -}}
<div class="hidden xl:block w-96 flex-shrink-0"> <div class="hidden lg:block w-96 flex-shrink-0">
<div class="sticky top-0 max-h-screen flex flex-col"> <div class="sticky top-0 max-h-screen flex flex-col">
<!-- Compact header for xl+ screens --> <!-- Compact header for lg+ screens -->
<div class="px-3 pb-4 border-b border-gray-200 bg-slate-50 rounded-t py-8"> <div class="px-3 pb-4 border-b border-gray-200 bg-slate-50 rounded-t py-8">
{{ if eq .Search "autoren" }} {{ if eq .Search "autoren" }}
<h2 class="text-2xl font-bold font-serif text-gray-900 mb-1">Beiträger</h2> <h2 class="text-2xl font-bold font-serif text-gray-900 mb-1">Beiträger</h2>

View File

@@ -253,7 +253,7 @@ body.page-edition::before {
@layer components { @layer components {
html { html {
font-size: clamp(12px, calc(13px + (100vw - 1500px) / 100), 17px); font-size: clamp(11px, calc(12px + (100vw - 1500px) / 100), 17px);
} }
body { body {