Skip to content

Commit

Permalink
Update modal copy (#2791)
Browse files Browse the repository at this point in the history
closes #2781
  • Loading branch information
agalin920 authored Jul 11, 2024
2 parents fe85588 + 1489614 commit 1766cbc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export const ConfirmPublishesModal = ({
<CloudUploadRoundedIcon color="success" />
</Stack>
<Box>
Publish {items.length} {pluralizeWord("Item", items.length)}:
Publish Changes to {items.length}{" "}
{pluralizeWord("Item", items.length)}:
</Box>
<Typography variant="body2" color="text.secondary" mt={1}>
This will make the the following {items.length} content{" "}
Expand All @@ -76,7 +77,7 @@ export const ConfirmPublishesModal = ({
}}
data-cy="ConfirmPublishButton"
>
Publish Changes to ({items.length}) Items
Publish Items ({items.length})
</Button>
</DialogActions>
</Dialog>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const SchedulePublishesModal = ({
</Typography>
</Box>
<Typography variant="body2" color="text.secondary">
You can always cancel the publish later if needed
You can always cancel the scheduled publish later if needed
</Typography>
</Box>
</Stack>
Expand Down
5 changes: 5 additions & 0 deletions src/shell/components/FieldTypeDateTime/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ export const FieldTypeDateTime = ({
value={timezoneOptionsWithSuggestions.find(
(tz) => tz.id === timezone
)}
sx={{
"& .MuiAutocomplete-inputRoot": {
py: 0.75,
},
}}
renderInput={(params) => <TextField {...params} />}
renderOption={(props, option) => (
<ListItem
Expand Down

0 comments on commit 1766cbc

Please sign in to comment.