Skip to content

Commit

Permalink
remove inline style
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Nov 4, 2021
1 parent 7daae18 commit de5c9b3
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/docusaurus-theme-classic/src/theme/ErrorPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ export default function ErrorPageContent({
</Translate>
</h1>
<p>{error.message}</p>
<button type="button" style={{display: 'block'}} onClick={tryAgain}>
<Translate
id="theme.ErrorPageContent.tryAgain"
description="The label of the button to try again when the page crashed">
Try again
</Translate>
</button>
<div>
<button type="button" onClick={tryAgain}>
<Translate
id="theme.ErrorPageContent.tryAgain"
description="The label of the button to try again when the page crashed">
Try again
</Translate>
</button>
</div>
</div>
</div>
</main>
Expand Down

0 comments on commit de5c9b3

Please sign in to comment.