From ea396c7bded47e45f2769a9a86a85bcb84013abd Mon Sep 17 00:00:00 2001 From: Etienne Delvarre Date: Fri, 29 May 2026 12:52:54 +0200 Subject: [PATCH] Hero image: use contain instead of cover (show full image) Co-Authored-By: Claude Opus 4.6 --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index c923787..7d1a279 100644 --- a/public/index.html +++ b/public/index.html @@ -232,7 +232,7 @@ window.dispatchEvent(new Event('tiptap-loaded')); .v-card.full { grid-column: 1 / -1; } .v-card h3 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 600; color: var(--text-hint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; } - .hero-banner { grid-column: 1 / -1; border-radius: 12px; height: 400px; background-image: linear-gradient(135deg, #d4a574 0%, #c4956a 30%, #a07850 60%, #7a5c40 100%); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; overflow: hidden; display: flex; align-items: flex-end; } + .hero-banner { grid-column: 1 / -1; border-radius: 12px; height: 400px; background-image: linear-gradient(135deg, #d4a574 0%, #c4956a 30%, #a07850 60%, #7a5c40 100%); background-size: contain; background-position: center; background-repeat: no-repeat; position: relative; overflow: hidden; display: flex; align-items: flex-end; } .dark .hero-banner { background-image: linear-gradient(135deg, #5a4030 0%, #4a3528 30%, #3a2a20 60%, #2a1e18 100%); } .hero-banner.has-image { background-color: #1a1614; cursor: grab; } .hero-banner.has-image.dragging { cursor: grabbing; }