landing
This commit is contained in:
@@ -72,7 +72,7 @@ export function WaitlistForm() {
|
|||||||
className="rounded-xl border-2 border-duck-dark/30 shadow-lg p-5 transition-all duration-300 ease-out"
|
className="rounded-xl border-2 border-duck-dark/30 shadow-lg p-5 transition-all duration-300 ease-out"
|
||||||
style={{
|
style={{
|
||||||
...cardStyle,
|
...cardStyle,
|
||||||
...(focused ? { position: 'fixed', bottom: '40%', top: 'auto', left: '50%', transform: 'translateX(-50%)', zIndex: 50, width: wrapperRef.current?.offsetWidth } : {}),
|
...(focused && window.innerWidth < 768 ? { position: 'fixed', bottom: '40%', top: 'auto', left: '50%', transform: 'translateX(-50%)', zIndex: 50, width: wrapperRef.current?.offsetWidth } : {}),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{done ? (
|
{done ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user