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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user