fix: Replace deprecated bodyStyle with styles.body in StepClaimConfirmation
Ant Design warning:
- bodyStyle prop is deprecated
- Use styles.body instead
Changed:
- StepClaimConfirmation.tsx: Replaced bodyStyle with styles={{ body: {...} }}
Files:
- frontend/src/components/form/StepClaimConfirmation.tsx
This commit is contained in:
@@ -149,12 +149,14 @@ export default function StepClaimConfirmation({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
bodyStyle={{
|
styles={{
|
||||||
padding: 0,
|
body: {
|
||||||
height: 'calc(100vh - 200px)',
|
padding: 0,
|
||||||
minHeight: '800px',
|
height: 'calc(100vh - 200px)',
|
||||||
display: 'flex',
|
minHeight: '800px',
|
||||||
flexDirection: 'column',
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<iframe
|
<iframe
|
||||||
|
|||||||
Reference in New Issue
Block a user