diff --git a/src/components/RolesContent/index.tsx b/src/components/RolesContent/index.tsx
index e83357e..b181427 100644
--- a/src/components/RolesContent/index.tsx
+++ b/src/components/RolesContent/index.tsx
@@ -93,7 +93,7 @@ const RolesContent = ({
dataSource={permissions}
pagination={{ pageSize: 10 }}
scroll={{
- y: 'calc(100vh - 450px)'
+ y: 'calc(100vh - 270px)'
}}
rowSelection={{
selectedRowKeys: value,
@@ -140,20 +140,22 @@ const RolesContent = ({
/>
-
-
+
+
+
+
{renderFormTable()}
>
diff --git a/src/components/RolesContent/roles-content.scss b/src/components/RolesContent/roles-content.scss
index a7a94f2..f0eb845 100644
--- a/src/components/RolesContent/roles-content.scss
+++ b/src/components/RolesContent/roles-content.scss
@@ -1,11 +1,30 @@
@import "../../constants/style/styleConst";
.roles-content {
- padding: $basic-padding*2 $basic-padding*3;
+ padding: $basic-padding*2 $basic-padding*3 0;
min-width: 400px;
+ height: 100%;
&__header {
display: flex;
justify-content: space-between;
}
+
+ &__wrap-input {
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 10px;
+ }
+
+ .ant-pagination {
+ margin: 8px 0 !important;
+ }
+
+ .ant-divider-horizontal {
+ margin: 14px 0;
+ }
+
+ .ant-form-item {
+ margin-bottom: 12px;
+ }
}
diff --git a/src/pages/AllVersionsPage/index.tsx b/src/pages/AllVersionsPage/index.tsx
index 66a40fc..1890a87 100644
--- a/src/pages/AllVersionsPage/index.tsx
+++ b/src/pages/AllVersionsPage/index.tsx
@@ -108,6 +108,7 @@ const AllVersionsPage = () => {
const renderActionsField = (_: unknown, record: VersionType) => {
return (
)
}
diff --git a/src/pages/UserEditor/user-editor.scss b/src/pages/UserEditor/user-editor.scss
index 2b5f2a4..3dd6a2b 100644
--- a/src/pages/UserEditor/user-editor.scss
+++ b/src/pages/UserEditor/user-editor.scss
@@ -7,7 +7,7 @@
&__header {
border-bottom: 1px solid $border-color;
- padding: $basic-padding *4 $basic-padding*3;
+ padding: 22px 24px 0;
&__nav {
display: flex;
@@ -44,7 +44,7 @@
&__content {
&__wrap {
overflow-x: scroll;
- height: calc(100vh - 200px);
+ height: calc(100vh - 80px);
}
.ant-form-item {
diff --git a/src/widgets/Header/header.scss b/src/widgets/Header/header.scss
index f9d381e..ddb70e2 100644
--- a/src/widgets/Header/header.scss
+++ b/src/widgets/Header/header.scss
@@ -16,7 +16,8 @@
font-size: 19px;
font-weight: 600;
font-family: 'PT Sans', sans-serif;
- padding-right: 120px;
+ width: 100%;
+ padding-left: 28px;
}
&__text-closed {
margin: auto;
diff --git a/src/widgets/Modal/modal.scss b/src/widgets/Modal/modal.scss
index 2e86643..1c580c4 100644
--- a/src/widgets/Modal/modal.scss
+++ b/src/widgets/Modal/modal.scss
@@ -39,6 +39,8 @@
}
&__title {
color: $grey;
+ font-size: 17px;
+ padding: 0 10px;
}
&__content {
padding: 10px;
@@ -58,7 +60,6 @@
body.modal-open {
overflow: hidden;
- padding-right: 14px;
}