fix(tradein/v2): заглушка карты в шапке заезжала под адресную карточку #2537

Merged
lekss361 merged 1 commit from fix/tradein-v2-hero-placeholder-overlap into main 2026-07-26 22:00:24 +00:00

View file

@ -163,7 +163,12 @@ function HeroMiniMap({ lat, lon }: HeroMiniMapProps) {
color: tokens.muted,
fontSize: 11,
textAlign: "center",
padding: "0 20px",
// Left padding clears the address card's lane (left:16 + width:182 =
// 198, plus a gutter). The card sits at z-index 750 and would
// otherwise cover this centred text — reported on prod right after
// the z-index fix landed. Centring happens inside the content box,
// so the text now centres in the free area to the right of the card.
padding: "0 20px 0 214px",
}}
>
{lat == null || lon == null