scaling problem

This commit is contained in:
Simon Martens
2025-10-07 17:51:05 +02:00
parent 4f33a7e490
commit 7f73d86fbb
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="mb-10 2xl:mb-0 sticky top-0 ">
<div class="mb-10 xl: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="2xl:hidden mb-10 w-full">
<div class="xl:hidden mb-10 w-full">
{{ template "_header_with_toggle" .model }}
</div>

View File

@@ -3,9 +3,9 @@
{{- $agents := .Agents -}}
{{- $sorted := .Sorted -}}
<div class="hidden 2xl:block w-96 flex-shrink-0">
<div class="hidden xl:block w-96 flex-shrink-0">
<div class="sticky top-0 max-h-screen flex flex-col">
<!-- Compact header for 2xl+ screens -->
<!-- Compact header for xl+ 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>

View File

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