Explorar el Código

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 hace 8 años
padre
commit
a4542b62b0
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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;