diff options
| author | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-07-16 10:23:17 +0700 |
|---|---|---|
| committer | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-07-16 10:23:17 +0700 |
| commit | 39b37aa1309a4d3755678bac39e0ba4132317a74 (patch) | |
| tree | fff091ea2006bcc7c25d8a363b81479df6ee4424 | |
| parent | 638c592d2dc3bb77c8b9da36ea6c84afc5505df0 (diff) | |
(andri) fix
| -rw-r--r-- | src/lib/home/components/PopupBannerPromotion.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/home/components/PopupBannerPromotion.jsx b/src/lib/home/components/PopupBannerPromotion.jsx index 6700030a..1463840a 100644 --- a/src/lib/home/components/PopupBannerPromotion.jsx +++ b/src/lib/home/components/PopupBannerPromotion.jsx @@ -180,16 +180,16 @@ const PagePopupInformation = () => { const banner = data[0]; return ( - <div className="fixed top-[50px] left-[120px] z-[9999] pointer-events-none" + <div className="fixed z-[9999] pointer-events-none" style={{ - top: '50px', + bottom: '125px', left: `${containerLeft - 125}px`, }}> <div ref={popupRef} className={`absolute pointer-events-auto ${isSnapping ? 'transition-transform duration-300 ease-out' : ''}`} style={{ - transform: `translate(${position.x}px, ${position.y}px)`, + transform: `translate(${position.x}px, 0px)`, cursor: 'grab', width: '85px', }} |
