From dfa0f5e0bbf3eb92590758a83122b88f24100fbc Mon Sep 17 00:00:00 2001 From: Lynn Date: Mon, 24 Jan 2022 17:02:30 +0100 Subject: [PATCH] pre-wrap --- src/Game.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Game.tsx b/src/Game.tsx index 0606111..f076eb8 100644 --- a/src/Game.tsx +++ b/src/Game.tsx @@ -270,7 +270,7 @@ function Game(props: GameProps) { role="alert" style={{ userSelect: /https?:/.test(hint) ? "text" : "none", - whiteSpace: "pre", + whiteSpace: "pre-wrap", }} > {hint || `\u00a0`}