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

feat: Add restart text label to restart button #3211

Merged
merged 2 commits into from
May 30, 2024
Merged
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
11 changes: 6 additions & 5 deletions editor.planx.uk/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,15 +366,16 @@ const PublicToolbar: React.FC<{
size="large"
aria-describedby="restart-application-description"
>
<Reset color="secondary" />
<Typography
id="restart-application-description"
style={visuallyHidden}
variant="body2"
fontSize="small"
fontWeight={FONT_WEIGHT_SEMI_BOLD}
pl={0.5}
>
Open a dialog with the option to restart your application.
If you chose to restart your application, this will delete
your previous answers
Restart
</Typography>
<Reset color="secondary" />
</IconButton>
)}
</RightBox>
Expand Down
Loading