feat: enhance footer rendering in Form component with dynamic class handling
This commit is contained in:
parent
c4a5f9d5d3
commit
25d2b40c2d
|
|
@ -312,7 +312,18 @@ export const Form: React.FC<any> = ({
|
|||
)}
|
||||
</form>
|
||||
{typeof onFooter === "function" ? (
|
||||
<div className="flex flex-grow flex-col">{onFooter(local)}</div>
|
||||
<div
|
||||
className={cx(
|
||||
"flex flex-grow flex-col",
|
||||
css`
|
||||
.tbl {
|
||||
position: relative;
|
||||
}
|
||||
`
|
||||
)}
|
||||
>
|
||||
{onFooter(local)}
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex flex-grow flex-col"></div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue