EightfoldAI / octuple

The Octuple component library
MIT License
16 stars 51 forks source link

Octuple Modal not behaving as expected with long header names #645

Open tarora-eightfold opened 1 year ago

tarora-eightfold commented 1 year ago

Expectation: The header should wrap in subsequent lines

Sandbox:

Screenshot 2023-06-20 at 6 54 51 AM (1)
dkilgore-eightfold commented 1 year ago

@tarora-eightfold Try updating the wrapping CSS for long single strings using headerClassNames prop. Currently the header text wraps a long title of multiple words, but not this edge case where a single word has many chars to avoid breaking short words in a long piece of text.

tarora-eightfold commented 1 year ago

Tracking with ENG-56457