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;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
/* Bild nie höher als ~40% des Viewport, damit die Karte komplett sichtbar ist */
|
|
||||||
max-height: 40dvh;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background: #1a1a1a;
|
background: #1a1a1a;
|
||||||
|
|||||||
@@ -8,11 +8,12 @@
|
|||||||
|
|
||||||
.feed-slot {
|
.feed-slot {
|
||||||
scroll-snap-align: start;
|
scroll-snap-align: start;
|
||||||
/* Mindesthöhe = volle Slot-Höhe; bei langer Karte wächst der Slot mit */
|
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 16px 20px;
|
padding: 16px 20px;
|
||||||
|
padding-bottom: 24px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user