Skip to content

Commit

Permalink
Wizard component style improvements
Browse files Browse the repository at this point in the history
- Removed invalid width on steps title
- Removed horizontal scrolling in wizard panel

Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
Benjamin Perez committed Oct 24, 2023
1 parent 6432ab8 commit 42bd2c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/Wizard/Wizard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const WizardMain = styled.div<WizardConstruct>(({ theme, sx, forModal }) => ({
margin: "10px 12px",
"&.stepsModalTitle": {
textAlign: "center",
width: "100%",
},
},
"& .buttonList": {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Wizard/WizardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ const WizardPageMain = styled.div<WizardConstruct>(({ theme }) => ({
},
"& .wizardModal": {
overflowY: "auto",
overflowX: "hidden",
margin: "10px 0",
minHeight: 350,
maxHeight: "calc(100vh - 515px)",
padding: "15px",
position: "relative"
},
"& .buttonsContainer": {
display: "flex",
Expand Down

0 comments on commit 42bd2c9

Please sign in to comment.