Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web): Global footer - Do not wrap privacy policy title below icon #18054

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libs/island-ui/core/src/lib/Footer/Footer.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ export const withDecorator = style({
},
},
})

export const iconPaddingTop = style({
paddingTop: '3px',
})
25 changes: 17 additions & 8 deletions libs/island-ui/core/src/lib/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,28 @@ export const Footer = ({
</Box>
<div>
<Stack space={1}>
<Inline space={1} alignY="center">
<Icon
icon="informationCircle"
size="small"
color="blue400"
type="outline"
/>
<Box
display="flex"
rowGap={1}
columnGap={1}
flexWrap="nowrap"
justifyContent="flexStart"
>
<Box className={styles.iconPaddingTop}>
<Icon
icon="informationCircle"
size="small"
color="blue400"
type="outline"
/>
</Box>

<Text variant="h5" color="blue600" fontWeight="light">
<Link href={privacyPolicyLink.href}>
{privacyPolicyLink.title}
</Link>
</Text>
</Inline>
</Box>
<Inline space={1} alignY="center">
<Icon
type="outline"
Expand Down
Loading