scaling problem

This commit is contained in:
Simon Martens
2025-10-07 17:59:41 +02:00
parent bbc2323663
commit 26c1717c8f
4 changed files with 5 additions and 5 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="mb-10 lg:mb-0 sticky top-0 ">
<div class="mb-10 md:mb-0 sticky top-0 ">
{{ template "_header_with_toggle" .model }}
</div>

View File

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

View File

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