Skip to content

Commit

Permalink
Merge branch 'development' of github.com:hotosm/fmtm into feat/update…
Browse files Browse the repository at this point in the history
…-xls-form
  • Loading branch information
NSUWAL123 committed Sep 11, 2024
2 parents ae3d8a0 + 9ff2392 commit 3cbe08d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions src/frontend/src/components/OfflineReadyPrompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@ function OfflineReadyPrompt() {
}, [offlineReady]);

return (
<div className="OfflineReadyPrompt-container">
<>
{offlineReady && (
<div className="OfflineReadyPrompt-toast">
<div className="OfflineReadyPrompt-message">
<span>App ready to work offline</span>
<div className="OfflineReadyPrompt-container">
<div className="OfflineReadyPrompt-toast">
<div className="OfflineReadyPrompt-message">
<span>App ready to work offline</span>
</div>
<button className="OfflineReadyPrompt-toast-button" onClick={() => close()}>
Close
</button>
</div>
<button className="OfflineReadyPrompt-toast-button" onClick={() => close()}>
Close
</button>
<div className="OfflineReadyPrompt-date">{buildDate}</div>
</div>
)}
<div className="OfflineReadyPrompt-date">{buildDate}</div>
</div>
</>
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const TaskSelectionPopup = ({ taskId, body, feature }: TaskSelectionPopupPropTyp
<div
className={`fmtm-duration-1000 fmtm-z-[10002] fmtm-h-fit ${
taskModalStatus
? 'fmtm-bottom-[4.4rem] md:fmtm-top-[50%] md:-fmtm-translate-y-[35%] fmtm-right-0 fmtm-w-[100vw] md:fmtm-w-[50vw] md:fmtm-max-w-[25rem]'
? 'fmtm-bottom-[4.4rem] sm:fmtm-bottom-0 lg:fmtm-top-[50%] md:-fmtm-translate-y-[35%] fmtm-right-0 fmtm-w-[100vw] md:fmtm-w-[50vw] md:fmtm-max-w-[25rem]'
: 'fmtm-top-[calc(100vh)] md:fmtm-top-[calc(40vh)] md:fmtm-left-[calc(100vw)] fmtm-w-[100vw]'
} fmtm-fixed
fmtm-rounded-t-3xl fmtm-border-opacity-50`}
Expand Down

0 comments on commit 3cbe08d

Please sign in to comment.