From 9dd314f4d6ccf5ecfb2f8ac271b6bd6452fbdf90 Mon Sep 17 00:00:00 2001 From: Piotr Gulbinowicz Date: Fri, 15 Nov 2024 14:17:27 +0100 Subject: [PATCH] add break-all class to p with note --- pwa/flush/components.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwa/flush/components.go b/pwa/flush/components.go index cb3618b..7abe56e 100644 --- a/pwa/flush/components.go +++ b/pwa/flush/components.go @@ -504,7 +504,7 @@ func FlushTable(flushes []Flush) app.UI { &RemoveFlushButton{ID: flush.ID}, ).Class("max-w-1/6"), app.P().Text("Phone used: "+phoneUsed), - app.P().Text("Note: '"+flush.Note+"'"), + app.P().Text("Note: '"+flush.Note+"'").Class("break-all"), ).Class("flex flex-col p-4 border-1 shadow-lg rounded-lg").ID("div-"+flush.ID), ) }