fix(tradein/v2): заглушка карты в шапке заезжала под адресную карточку (#2537)
All checks were successful
Deploy Trade-In / changes (push) Successful in 13s
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 2m5s
Deploy Trade-In / deploy (push) Successful in 49s

This commit is contained in:
lekss361 2026-07-26 22:00:23 +00:00
parent 580be61914
commit d6b9891fe2

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