850 B
850 B
Notification Animation Fix
Fixed the download notification display issue where notifications appeared strangely (first in corner, then stretched).
Problem
.tg-status-messagehad conflicting width properties- Complex positioning caused weird stretch animation
- Used
transform: translateX(-50%)with multiple width calculations
Solution
- Simplified positioning:
left/rightwithvar(--tg-spacing-lg)margins - Removed conflicting width properties (
max-width,width,min-width) - Changed position from
top: 80pxtotop: 20px - Updated animation from
tg-slide-intotg-slide-downfor natural top-to-bottom appearance
Files Modified
public/style.css: Updated.tg-status-messagestyles and animation keyframes
The notification now appears smoothly at the top of the screen without strange stretching effects.