Skip to content

Commit 73f2161

Browse files
committed
feat: add workbreaks for flashes
1 parent 8595e26 commit 73f2161

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

assets/components/core-components.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,18 @@ table.table.table-zebra td {
195195
#flash-info .alert p:first-of-type,
196196
#flash-error .alert p:first-of-type {
197197
@apply font-bold text-neutrals-350 mb-1;
198+
word-wrap: break-word;
199+
overflow-wrap: break-word;
200+
word-break: break-word;
198201
}
199202

200203
#flash-info .alert p:last-of-type,
201204
#flash-error .alert p:last-of-type {
202205
@apply text-sm text-neutrals-300;
203206
margin-left: -1.75rem; /* Negative margin to pull message left - message is nested in wrapper with icon, can't modify HTML */
207+
word-wrap: break-word;
208+
overflow-wrap: break-word;
209+
word-break: break-word;
204210
}
205211

206212
#flash-info .alert svg,

0 commit comments

Comments
 (0)