Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/UI #1772

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Fix/UI #1772

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading