Commit 682ddd8
committed
Updated the width calculation for the 'BlurTransitionText' component to prevent headline overflow on smaller screens.
1. 'demo/src/components/elements/blur-transition-text.tsx' (Updated): Adjusted 'containerWidth' logic to improve layout responsiveness
- Used 'min()' function to pick the smaller of the fixed width or viewport-based width
- Prevented headline overflow on mobile devices while maintaining layout stability
- Added a note regarding ongoing troubleshooting of the 'containerWidth' for the headline on the home page hero1 parent 14a6d61 commit 682ddd8
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
0 commit comments