HADashboard Input_text overflow-wrap

Was hoping maybe someone can help me out.
Using a input_text to display some message. Would like for the message to fit in the widget, and continue the rest of the message into the line below.

Was expecting a (overflow-wrap: anywhere;) in the css to fix the problem but it doesn’t work.

See attachment

Thanks!
Untitled|289x164

Untitled

try

word-break:break-all;

No difference. Thank though.
Martin

You can display an input_text or any sensor with the sensor widget, and the word wrapping works fine for me:

next_bus:
  widget_type: sensor
  title: Nästa buss
  entity: input_text.next_bus # Or a sensor entity
  text_style: "font-size: 16px; color: #999; word-wrap:normal;"

That works perfect! Thank you.