fix(tradein/v2): заглушка карты в шапке заезжала под адресную карточку #2537
1 changed files with 6 additions and 1 deletions
|
|
@ -163,7 +163,12 @@ function HeroMiniMap({ lat, lon }: HeroMiniMapProps) {
|
||||||
color: tokens.muted,
|
color: tokens.muted,
|
||||||
fontSize: 11,
|
fontSize: 11,
|
||||||
textAlign: "center",
|
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
|
{lat == null || lon == null
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue