Skip to content

Commit

Permalink
fix: minor spacing fixes (#1927)
Browse files Browse the repository at this point in the history
  • Loading branch information
finnar-bin authored Mar 15, 2023
1 parent a6cefc9 commit fcc3363
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions src/apps/schema/src/app/components/ModelHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,13 @@ export const ModelHeader = ({ onNewFieldModalClick }: Props) => {
</Box>
</Box>
<Box mt={1.5}>
<Typography variant="caption" color="textSecondary">{`${
modelNameMap[model?.type]
} Model • ZUID: ${model?.ZUID} • `}</Typography>
<Typography
variant="caption"
color="textSecondary"
whiteSpace="pre"
>{`${modelNameMap[model?.type]} Model • ZUID: ${
model?.ZUID
} • `}</Typography>
<Tooltip
title={moment(model?.updatedAt).format(
"Do MMMM YYYY [at] h:mm A"
Expand Down
2 changes: 1 addition & 1 deletion src/shell/components/Filters/DateRangeFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const DateRangeFilter: FC<DateRangeFilterProps> = ({
</IconButton>
</Box>
</DialogTitle>
<DialogContent sx={{ p: 0 }}>
<DialogContent sx={{ px: 0, pb: 2.5 }}>
<LocalizationProvider dateAdapter={AdapterDateFns}>
<DateRangeCalendar
value={selectedDateRange}
Expand Down

0 comments on commit fcc3363

Please sign in to comment.