Skip to content

Commit ccf668a

Browse files
committed
Callout style tweaks
1 parent fa361a5 commit ccf668a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

website/src/components/Callout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const Callout = ({
4343
<div
4444
data-variant={variant}
4545
className={classNames([
46-
`flex gap-2 rounded-8 border p-4 ps-3
46+
`text-body-small flex gap-2 rounded-8 border p-3
4747
data-[variant=important]:border-solar-500/50
4848
data-[variant=info]:border-galactic-500/50
4949
data-[variant=important]:bg-solar-500/10
@@ -53,7 +53,7 @@ export const Callout = ({
5353
])}
5454
{...(props as ComponentProps<'div'>)}
5555
>
56-
<div className="flex size-6 shrink-0 items-center justify-center">
56+
<div className="flex h-[1lh] shrink-0 items-center justify-center">
5757
{variant === 'info' ? (
5858
<Lightbulb size={4} color="galactic-500" alt={!title ? t('global.content.callout.note') : ''} />
5959
) : (
@@ -62,9 +62,9 @@ export const Callout = ({
6262
</div>
6363
<div
6464
className={`
65-
text-body-xsmall flex-1
65+
flex-1
6666
-:first:*:text-white
67-
mdx-[:is(p,ul,ol):not(:last-child,:is(ul,ol)_*)]:mb-3
67+
mdx-[:is(p,ul,ol):not(:last-child,:is(ul,ol)_*)]:mb-2
6868
mdx-[ul,ol]:gap-1
6969
`}
7070
>

website/src/supportedNetworks/NetworksTable.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ export function NetworksTable({ networks }: { networks: SupportedNetwork[] }) {
5656
return (
5757
<>
5858
<Callout variant="info" className="mb-6">
59+
<p>{t('index.supportedNetworks.infoText')}</p>
5960
<p>
60-
{t('index.supportedNetworks.infoText')}{' '}
6161
<ExperimentalLink href="https://edgeandnode.typeform.com/to/b3507xSL">
6262
{t('index.supportedNetworks.infoLink')}
6363
</ExperimentalLink>
64-
.
6564
</p>
6665
</Callout>
6766

0 commit comments

Comments
 (0)