mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 07:56:37 +08:00
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:
@@ -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,
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user