Просмотр исходного кода

Merge pull request #732 from smiclea/fix-scroll

Fix a vertical scroll bar appearing in the wizard
Daniel Vincze 3 лет назад
Родитель
Сommit
f609a9f860

+ 2 - 0
src/components/modules/WizardModule/WizardOptions/WizardOptions.tsx

@@ -48,6 +48,7 @@ const Options = styled.div<any>`
   display: flex;
   flex-direction: column;
   min-height: 0;
+  height: 100%;
 `;
 const Fields = styled.div<any>`
   ${props => (props.layout === "page" ? "" : "padding: 32px;")}
@@ -55,6 +56,7 @@ const Fields = styled.div<any>`
   flex-direction: column;
   overflow: auto;
   padding-right: ${props => (props.layout === "page" ? 4 : 24)}px;
+  flex-grow: 1;
 `;
 const Group = styled.div<any>`
   display: flex;