MSP-3288 update style in UsersPage and ApplicationsContent
This commit is contained in:
1 parent
df83d2fb58
commit
5e116e15dd
4 files changed
+7
-30
No files matched your search
@@ -3,7 +3,7 @@
|
|||||||
.applications-content {
|
.applications-content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns:250px 1fr;
|
grid-template-columns:300px 1fr;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.column-content {
|
.column-content {
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ const ApplicationsContent: FC<ApplicationsContentPropTypes> = ({
|
|||||||
<Column
|
<Column
|
||||||
title="Приложения"
|
title="Приложения"
|
||||||
onUpdateItem={updateApplicationModal}
|
onUpdateItem={updateApplicationModal}
|
||||||
showUpdateBtn={!!appId}
|
showUpdateBtn={true}
|
||||||
onAddItem={addApplicationModal}
|
onAddItem={addApplicationModal}
|
||||||
onRemoveItem={() => handleRemoveApplicationApp(Number(appId))}
|
onRemoveItem={() => handleRemoveApplicationApp(Number(appId))}
|
||||||
items={filterFirstColumnItems(
|
items={filterFirstColumnItems(
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ const ApplicationsPage = () => {
|
|||||||
<Column
|
<Column
|
||||||
title="Группы приложений"
|
title="Группы приложений"
|
||||||
onUpdateItem={updateApplicationModal}
|
onUpdateItem={updateApplicationModal}
|
||||||
showUpdateBtn={!!selectedItemId}
|
showUpdateBtn={true}
|
||||||
onAddItem={addApplicationModal}
|
onAddItem={addApplicationModal}
|
||||||
onRemoveItem={handleRemoveApplicationsGtoup}
|
onRemoveItem={handleRemoveApplicationsGtoup}
|
||||||
items={filterFirstColumnItems(
|
items={filterFirstColumnItems(
|
||||||
|
|||||||
@@ -4,8 +4,9 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
|
.ant-btn-group >.ant-btn:first-child {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
&__header {
|
&__header {
|
||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
padding: 0 3 * $basic-padding;
|
padding: 0 3 * $basic-padding;
|
||||||
@@ -28,7 +29,7 @@
|
|||||||
|
|
||||||
&__wrap-table {
|
&__wrap-table {
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
height: calc(100vh - 200px);
|
height: calc(100vh - 110px);
|
||||||
}
|
}
|
||||||
|
|
||||||
&__table {
|
&__table {
|
||||||
@@ -36,30 +37,6 @@
|
|||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: $basic-margin;
|
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user