Skip to content

Commit 0d961a7

Browse files
committed
Design review fixes
1 parent 1313718 commit 0d961a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ function App() {
8181
className="checker-background flex flex-col items-center p-5"
8282
style={{ marginBottom: `${detailHeight}px` }}
8383
>
84-
<div className="mt-25 flex w-full max-w-[40em] items-center justify-center lg:mt-34">
84+
{/* Half-pixel translates solves pixel-perfect centering */}
85+
<div className="mt-25 flex w-full max-w-[40em] items-center justify-center lg:mt-34 translate-x-[0.5px]">
8586
<div className="rounded-[25%] border border-[#19191C0A] bg-[#F9F9FA] p-3 shadow-[0px_9.36px_9.36px_0px_hsla(0,0%,0%,0.04)]">
8687
<div className="rounded-[25%] border border-[#FAFAFB] bg-white p-5 shadow-[0px_2px_12px_0px_hsla(0,0%,0%,0.03)] lg:p-9">
8788
<img

0 commit comments

Comments
 (0)