MSP-3288 change height
This commit is contained in:
1 parent
34b2f3373f
commit
9c58ad53a7
8 files changed
+29
-24
No files matched your search
@@ -88,24 +88,24 @@ const RolesContent = ({
|
||||
control={control}
|
||||
name="permissions"
|
||||
render={({ field: { value, onChange } }) => (
|
||||
<Table
|
||||
columns={columns}
|
||||
dataSource={permissions}
|
||||
pagination={{ pageSize: 10 }}
|
||||
scroll={{
|
||||
y: 'calc(100vh - 500px)',
|
||||
}}
|
||||
rowSelection={{
|
||||
selectedRowKeys: value,
|
||||
type: 'checkbox',
|
||||
onChange: (selectedRowKeys) => {
|
||||
onChange(selectedRowKeys)
|
||||
},
|
||||
getCheckboxProps: () => ({
|
||||
disabled: immutable
|
||||
})
|
||||
}}
|
||||
/>
|
||||
<Table
|
||||
columns={columns}
|
||||
dataSource={permissions}
|
||||
pagination={{ pageSize: 10 }}
|
||||
scroll={{
|
||||
y: 'calc(100vh - 450px)'
|
||||
}}
|
||||
rowSelection={{
|
||||
selectedRowKeys: value,
|
||||
type: 'checkbox',
|
||||
onChange: (selectedRowKeys) => {
|
||||
onChange(selectedRowKeys)
|
||||
},
|
||||
getCheckboxProps: () => ({
|
||||
disabled: immutable
|
||||
})
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
)
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
overflow-x: scroll;
|
||||
width: 100%;
|
||||
|
||||
&__table {
|
||||
overflow-x: scroll;
|
||||
height: calc(100vh - 100px);
|
||||
}
|
||||
|
||||
&__wrap {
|
||||
padding: $basic-padding*2 $basic-padding*3;
|
||||
min-width: 700px;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@import "../../constants/style/styleConst";
|
||||
|
||||
.configurations {
|
||||
height: calc(100vh - 150px);
|
||||
height: calc(100vh - 80px);
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
min-width: 700px;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
&__wrap-table {
|
||||
overflow-x: scroll;
|
||||
height: calc(100vh - 150px);
|
||||
height: calc(100vh - 70px);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
&__wrap-table {
|
||||
overflow-x: scroll;
|
||||
height: calc(100vh - 250px);
|
||||
height: calc(100vh - 160px);
|
||||
}
|
||||
|
||||
&__pagination {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
&__wrap-table {
|
||||
overflow-x: scroll;
|
||||
height: calc(100vh - 250px);
|
||||
height: calc(100vh - 160px);
|
||||
}
|
||||
|
||||
&__table {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
.access-list-tree{
|
||||
overflow-y: scroll;
|
||||
height: calc(100vh - 250px);
|
||||
height: calc(100vh - 100px);
|
||||
&__inner-tag{
|
||||
margin-left: $basic-margin;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
border: 1px dashed $grey;
|
||||
|
||||
overflow-y: scroll;
|
||||
height: calc(100vh - 160px);
|
||||
height: calc(100vh - 100px);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user