mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-11 03:36: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 (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
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,
|
context?.classNames?.footer,
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user