pre-wrap
This commit is contained in:
parent
853671b4eb
commit
dfa0f5e0bb
|
@ -270,7 +270,7 @@ function Game(props: GameProps) {
|
||||||
role="alert"
|
role="alert"
|
||||||
style={{
|
style={{
|
||||||
userSelect: /https?:/.test(hint) ? "text" : "none",
|
userSelect: /https?:/.test(hint) ? "text" : "none",
|
||||||
whiteSpace: "pre",
|
whiteSpace: "pre-wrap",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{hint || `\u00a0`}
|
{hint || `\u00a0`}
|
||||||
|
|
Loading…
Reference in a new issue