From 1015ec9da2f4d54a1670308f0815c2a53b159ebd Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 29 May 2024 14:32:22 +0100 Subject: [PATCH 1/2] Allow field labels to wrap --- packages/client/src/components/app/forms/Field.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/client/src/components/app/forms/Field.svelte b/packages/client/src/components/app/forms/Field.svelte index adf5d10df7..690e328cf4 100644 --- a/packages/client/src/components/app/forms/Field.svelte +++ b/packages/client/src/components/app/forms/Field.svelte @@ -126,9 +126,6 @@ display: flex; flex-direction: column; } - label { - white-space: nowrap; - } label.hidden { padding: 0; } From 7b4304d4a2ebace99dbaa01d3c46caedfb7cfb1c Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 30 May 2024 09:11:42 +0100 Subject: [PATCH 2/2] Force wrapping long words in field labels --- packages/client/src/components/app/forms/Field.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/src/components/app/forms/Field.svelte b/packages/client/src/components/app/forms/Field.svelte index 690e328cf4..74ff5442a9 100644 --- a/packages/client/src/components/app/forms/Field.svelte +++ b/packages/client/src/components/app/forms/Field.svelte @@ -126,6 +126,9 @@ display: flex; flex-direction: column; } + label { + word-wrap: break-word; + } label.hidden { padding: 0; }