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

/cashier-mini flex-none で動きのズレを修正 #412

Merged
merged 1 commit into from
Nov 2, 2024
Merged
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
5 changes: 3 additions & 2 deletions pos/app/routes/cashier-mini.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function CasherMini() {
if (!isOperational) {
return "しばらくお待ちください";
}
return " ";
return " ご来店ありがとうございます";
}, [isOperational, submittedOrderId]);

const charge = useMemo(() => order?.getCharge() ?? 0, [order]);
Expand All @@ -97,7 +97,7 @@ export default function CasherMini() {
playsInline
muted
src={logoMotion}
className="h-3/5 w-full object-contain"
className="h-3/5 w-full flex-none object-contain"
/>
<h1
className={cn(
Expand All @@ -115,6 +115,7 @@ export default function CasherMini() {
"bg-gradient-to-br from-[#A877D9] via-[#E665C5] to-[#E67651]",
)}
>
<button type="button" className="absolute top-0 left-0 h-24 w-60" />
<img src={logoSVG} alt="" className="absolute h-screen w-screen p-28" />
<div className="wrap flex flex-col px-[50px] pt-[40px]">
<p className="pb-[50px] font-serif text-5xl text-white">
Expand Down