mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-25 02:56:38 +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>
|
<span className="text-sm text-gray-600">{formatTimePair(event.start, event.end)}</span>
|
||||||
{
|
{
|
||||||
event.description && (
|
event.description && (
|
||||||
<p className="mt-2">{event.description}</p>
|
<p className="mt-2 whitespace-pre-wrap">{event.description}</p>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue