Skip to content

Commit

Permalink
pre-wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed Jan 24, 2022
1 parent 853671b commit dfa0f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function Game(props: GameProps) {
role="alert"
style={{
userSelect: /https?:/.test(hint) ? "text" : "none",
whiteSpace: "pre",
whiteSpace: "pre-wrap",
}}
>
{hint || `\u00a0`}
Expand Down

0 comments on commit dfa0f5e

Please sign in to comment.