more fixes

This commit is contained in:
Andrey Kondratev
2025-08-29 11:29:28 +05:00
parent b483ed71f2
commit cfe2b459fb
6 changed files with 99 additions and 22 deletions

View File

@@ -0,0 +1,19 @@
# Notification Animation Fix
Fixed the download notification display issue where notifications appeared strangely (first in corner, then stretched).
## Problem
- `.tg-status-message` had conflicting width properties
- Complex positioning caused weird stretch animation
- Used `transform: translateX(-50%)` with multiple width calculations
## Solution
- Simplified positioning: `left/right` with `var(--tg-spacing-lg)` margins
- Removed conflicting width properties (`max-width`, `width`, `min-width`)
- Changed position from `top: 80px` to `top: 20px`
- Updated animation from `tg-slide-in` to `tg-slide-down` for natural top-to-bottom appearance
## Files Modified
- `public/style.css`: Updated `.tg-status-message` styles and animation keyframes
The notification now appears smoothly at the top of the screen without strange stretching effects.