MSP-3288 update style in UsersPage and ApplicationsContent

This commit is contained in:
Anastasiia committed 2024-05-18 12:08:26 +07:00
1 parent df83d2fb58
commit 5e116e15dd
4 files changed
+7 -30

No files matched your search

@@ -3,7 +3,7 @@
.applications-content {
height: 100%;
display: grid;
grid-template-columns:250px 1fr;
grid-template-columns:300px 1fr;
width: 100%;
.column-content {
+1 -1
View File
@@ -172,7 +172,7 @@ const ApplicationsContent: FC<ApplicationsContentPropTypes> = ({
<Column
title="Приложения"
onUpdateItem={updateApplicationModal}
showUpdateBtn={!!appId}
showUpdateBtn={true}
onAddItem={addApplicationModal}
onRemoveItem={() => handleRemoveApplicationApp(Number(appId))}
items={filterFirstColumnItems(
+1 -1
View File
@@ -166,7 +166,7 @@ const ApplicationsPage = () => {
<Column
title="Группы приложений"
onUpdateItem={updateApplicationModal}
showUpdateBtn={!!selectedItemId}
showUpdateBtn={true}
onAddItem={addApplicationModal}
onRemoveItem={handleRemoveApplicationsGtoup}
items={filterFirstColumnItems(
+4 -27
View File
@@ -4,8 +4,9 @@
height: 100%;
background: #fff;
border: 1px solid $border-color;
.ant-btn-group >.ant-btn:first-child {
z-index: 2;
}
&__header {
border-bottom: 1px solid $border-color;
padding: 0 3 * $basic-padding;
@@ -28,7 +29,7 @@
&__wrap-table {
overflow-x: scroll;
height: calc(100vh - 200px);
height: calc(100vh - 110px);
}
&__table {
@@ -36,30 +37,6 @@
justify-content: flex-end;
display: flex;
gap: $basic-margin;
&__delete-btn {
color: $blue-color;
background: $blue-light;
}
&__edit-btn {
cursor: pointer;
background: $blue-light;
padding: 4px 10px;
border-radius: 8px;
&:hover {
path:first-child {
fill: $blue-color;
}
path:last-child {
fill: #fff;
}
background: $blue-color;
}
}
}
}