fix: adjust half screen width calculation for AI chat panel

This commit is contained in:
DIYgod 2025-09-17 09:40:20 +08:00
parent f067404151
commit 2b75844187
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ const AIEnhancedTimelineLayoutImpl = () => {
)
const getHalfScreenWidth = useCallback(
() => clampWidth(typeof window !== "undefined" ? window.innerWidth / 2 : 800),
() => clampWidth(typeof window !== "undefined" ? window.innerWidth * 0.4 : 800),
[clampWidth],
)