mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
Fix line breaks rendering in event descriptions
Add whitespace-pre-wrap CSS class to preserve line breaks and formatting in event descriptions while maintaining proper text wrapping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e2187b1f13
commit
3048475948
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ export default function Schedule() {
|
|||
<span className="text-sm text-gray-600">{formatTimePair(event.start, event.end)}</span>
|
||||
{
|
||||
event.description && (
|
||||
<p className="mt-2">{event.description}</p>
|
||||
<p className="mt-2 whitespace-pre-wrap">{event.description}</p>
|
||||
)
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue