fix: restore 1:1 image ratio — remove max-height constraint

The max-height broke the square aspect ratio needed for object coordinate
overlays. Layout fix in App.jsx already ensures correct heights; the
image constraint was unnecessary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 12:56:36 +02:00
parent ea3a309b2d
commit f299769ee9
2 changed files with 2 additions and 3 deletions

View File

@@ -83,8 +83,6 @@
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
/* Bild nie höher als ~40% des Viewport, damit die Karte komplett sichtbar ist */
max-height: 40dvh;
overflow: hidden;
cursor: default;
background: #1a1a1a;

View File

@@ -8,11 +8,12 @@
.feed-slot {
scroll-snap-align: start;
/* Mindesthöhe = volle Slot-Höhe; bei langer Karte wächst der Slot mit */
min-height: 100%;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 16px 20px;
padding-bottom: 24px;
flex-shrink: 0;
box-sizing: border-box;
}