fix(frontend): modal footer buttons visible on mobile (#190)

ModalFooter used flex-col-reverse which caused buttons to display in
reverse order on mobile and potentially pushed cancel button out of
view. Changed to flex-wrap justify-end for consistent cross-platform
button display.
This commit is contained in:
sagit
2026-02-22 20:05:02 +08:00
committed by GitHub
parent 42ae3457b5
commit fc5624a190
@@ -207,7 +207,7 @@ export function ModalFooter({
return (
<div
className={cn(
"mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
"mt-4 flex flex-wrap justify-end gap-2",
context?.classNames?.footer,
className,
)}