Browse Source

Move scroll from instances content to table body

If the wizard instances (VMs) table needs scroll, add scroll only to
the table's body instead fo scrolling the whole content.
Sergiu Miclea 8 years ago
parent
commit
a4542b62b0
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/components/organisms/WizardInstances/WizardInstances.jsx

+ 3 - 2
src/components/organisms/WizardInstances/WizardInstances.jsx

@@ -46,6 +46,7 @@ const LoadingWrapper = styled.div`
 const InstancesWrapper = styled.div`
   margin-left: -32px;
   flex-grow: 1;
+  overflow: auto;
 `
 const InstanceContent = styled.div`
   display: flex;
@@ -120,8 +121,8 @@ const FilterSeparator = styled.div`
 const Pagination = styled.div`
   display: flex;
   justify-content: center;
-  margin-bottom: 64px;
-  margin-top: 32px;
+  margin: 32px 0 16px 0;
+  flex-shrink: 0;
 `
 const Page = styled.div`
   width: 30px;