Skip to content

Commit

Permalink
bug / styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranMn committed Dec 11, 2024
1 parent f423140 commit 1a3fa71
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/hash-frontend/src/pages/actions.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,4 @@ ActionsPageOuter.getLayout = (page) =>
fullWidth: true,
});

export default ActionsPage;
export default ActionsPageOuter;
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const DraftEntityChip = styled(Chip)(({ theme, clickable }) => ({
background: theme.palette.common.white,
borderColor: theme.palette.gray[30],
fontWeight: 500,
fontSize: 12,
textTransform: "none",
...(clickable
? {
Expand All @@ -20,6 +19,7 @@ export const DraftEntityChip = styled(Chip)(({ theme, clickable }) => ({
color: theme.palette.gray[50],
},
[`& .${chipClasses.label}`]: {
padding: theme.spacing(0.5, 1.25),
padding: theme.spacing(0.3, 1.25),
fontSize: 12,
},
}));
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,14 @@ export const DraftEntityType: FunctionComponent<{
alignItems: "center",
}}
>
<Typography sx={{ fontWeight: 500, fontSize: 12 }}>
<Typography
sx={{
fontWeight: 500,
fontSize: 12,
display: "flex",
alignItems: "center",
}}
>
<EntityOrTypeIcon
entity={null}
fill={({ palette }) => palette.gray[50]}
Expand All @@ -90,6 +97,7 @@ export const DraftEntityType: FunctionComponent<{
(allOf) => allOf.$ref === linkEntityTypeUrl,
)
}
sx={{ mr: 0.5 }}
/>
{entityType.schema.title}
</Typography>
Expand Down

0 comments on commit 1a3fa71

Please sign in to comment.