pre-wrap
This commit is contained in:
@@ -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`}
|
||||||
|
|||||||
Reference in New Issue
Block a user