revert: use background-size cover for hero banner (square images + drag)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -232,7 +232,7 @@ window.dispatchEvent(new Event('tiptap-loaded'));
|
|||||||
.v-card.full { grid-column: 1 / -1; }
|
.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; }
|
.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: 100% auto; 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: cover; 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%); }
|
.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 { background-color: #1a1614; cursor: grab; }
|
||||||
.hero-banner.has-image.dragging { cursor: grabbing; }
|
.hero-banner.has-image.dragging { cursor: grabbing; }
|
||||||
|
|||||||
Reference in New Issue
Block a user