compensate for uneven padding
This commit is contained in:
@@ -42,7 +42,10 @@ function TransparentOuter({children, headerRef}: OuterProps) {
|
|||||||
a.flex_row,
|
a.flex_row,
|
||||||
a.align_center,
|
a.align_center,
|
||||||
a.gap_sm,
|
a.gap_sm,
|
||||||
a.px_xs,
|
// built-in padding, but slightly more on right than left,
|
||||||
|
// so compensate for that. this is because we're using
|
||||||
|
// headerRightItems
|
||||||
|
a.pl_xs,
|
||||||
isInitialRender && {opacity: 0},
|
isInitialRender && {opacity: 0},
|
||||||
]}>
|
]}>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
Reference in New Issue
Block a user