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/2432 add field tooltip styling #2540

Merged
merged 14 commits into from
Apr 11, 2024
16 changes: 14 additions & 2 deletions src/apps/schema/src/app/components/AddFieldModal/TooltipBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export const TooltipBody = ({
primaryTypographyProps={{
fontSize: 14,
fontWeight: 700,
color: "text.primary",
lineHeight: "20px",
}}
secondaryTypographyProps={{
variant: "body3",
Expand All @@ -66,7 +68,12 @@ export const TooltipBody = ({
{description}
</Typography>
<Box py={2}>
<Typography variant="body2" fontWeight="700">
<Typography
lineHeight={"20px"}
color="text.primary"
variant="body2"
fontWeight="700"
>
Common Uses
</Typography>
<Box pl={2} component="ul">
Expand All @@ -82,7 +89,12 @@ export const TooltipBody = ({
))}
</Box>
</Box>
<Typography variant="body2" fontWeight="700">
<Typography
lineHeight={"20px"}
color="text.primary"
variant="body2"
fontWeight="700"
>
Pro Tip
</Typography>
<Typography variant="body3" color="text.secondary">
Expand Down
Loading