Skip to content

Commit

Permalink
Merge pull request #2189 from tawandamoyo/fix/2102-use-styles-wrapper…
Browse files Browse the repository at this point in the history
…-in-ant-drawer

Remove deprecated prop in antd Drawer
  • Loading branch information
anth-volk authored Nov 7, 2024
2 parents 349c2fa + 33061ba commit 18ccc73
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/layout/MobileCalculatorPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -534,14 +534,16 @@ function PolicyDrawerButton({ policy, metadata, buttonHeight }) {
placement="bottom"
title="Your policy"
height="min(100vh, auto)"
styles={{
wrapper: {
maxHeight: "100vh",
},
}}
style={{
maxHeight: "100vh",
overflow: "scroll",
height: "unset",
}}
contentWrapperStyle={{
maxHeight: "100vh",
}}
>
<PolicyRightSidebar
metadata={metadata}
Expand Down

0 comments on commit 18ccc73

Please sign in to comment.