Skip to content

Commit 38d7539

Browse files
committed
fix: Info icon pixel alignment
1 parent d4b1632 commit 38d7539

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

app/[locale]/what-is-ethereum/_components/what-is-ethereum.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ const WhatIsEthereumPage = ({
488488
})}
489489
>
490490
<span>
491-
<Info className="mb-0.5 inline-block size-[0.875em] align-middle" />
491+
<Info className="-mb-0.5 size-[0.875em]" />
492492
</span>
493493
</Tooltip>
494494
</NoWrapText>
@@ -511,7 +511,7 @@ const WhatIsEthereumPage = ({
511511
})}
512512
>
513513
<span>
514-
<Info className="mb-0.5 inline-block size-[0.875em] align-middle" />
514+
<Info className="-mb-0.5 size-[0.875em]" />
515515
</span>
516516
</Tooltip>
517517
</NoWrapText>
@@ -534,7 +534,7 @@ const WhatIsEthereumPage = ({
534534
})}
535535
>
536536
<span>
537-
<Info className="mb-0.5 inline-block size-[0.875em] align-middle" />
537+
<Info className="-mb-0.5 size-[0.875em]" />
538538
</span>
539539
</Tooltip>
540540
</NoWrapText>
@@ -559,7 +559,7 @@ const WhatIsEthereumPage = ({
559559
})}
560560
>
561561
<span>
562-
<Info className="mb-0.5 inline-block size-[0.875em] align-middle" />
562+
<Info className="-mb-0.5 size-[0.875em]" />
563563
</span>
564564
</Tooltip>
565565
</NoWrapText>
@@ -585,7 +585,7 @@ const WhatIsEthereumPage = ({
585585
})}
586586
>
587587
<span>
588-
<Info className="mb-0.5 inline-block size-[0.875em] align-middle" />
588+
<Info className="-mb-0.5 size-[0.875em]" />
589589
</span>
590590
</Tooltip>
591591
</NoWrapText>
@@ -611,7 +611,7 @@ const WhatIsEthereumPage = ({
611611
})}
612612
>
613613
<span>
614-
<Info className="mb-0.5 inline-block size-[0.875em] align-middle" />
614+
<Info className="-mb-0.5 size-[0.875em]" />
615615
</span>
616616
</Tooltip>
617617
</NoWrapText>

src/components/BannerGrid/BannerGrid.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const BannerGridCell: Story = {
127127
})}
128128
>
129129
<span>
130-
<Info className="inline-block align-middle" />
130+
<Info className="-mb-0.5 size-[0.875em]" />
131131
</span>
132132
</Tooltip>
133133
</span>
@@ -163,7 +163,7 @@ export const BannerGrid: Story = {
163163
})}
164164
>
165165
<span>
166-
<Info className="inline-block align-middle" />
166+
<Info className="-mb-0.5 size-[0.875em]" />
167167
</span>
168168
</Tooltip>
169169
</span>

src/components/Staking/StakingStatsBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Label = ({ children }: ChildOnlyProp) => (
3131
// BeaconchainTooltip component
3232
const BeaconchainTooltip = ({ children }: ChildOnlyProp) => (
3333
<Tooltip content={children}>
34-
<Info className="active:primary focus:primary size-[1em] align-middle text-md hover:text-primary" />
34+
<Info className="active:primary focus:primary size-[1em] text-md hover:text-primary" />
3535
</Tooltip>
3636
)
3737

0 commit comments

Comments
 (0)