mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-30 03:46:10 +00:00
Minor: fixed ui layout issue of role page (#15481)
This commit is contained in:
parent
ec5c3fc395
commit
26f55b31fb
@ -346,7 +346,7 @@ const PoliciesDetailPage = () => {
|
|||||||
</Typography.Title>
|
</Typography.Title>
|
||||||
<DescriptionV1
|
<DescriptionV1
|
||||||
hasEditAccess
|
hasEditAccess
|
||||||
className="m-t-md"
|
className="m-y-md"
|
||||||
description={policy.description || ''}
|
description={policy.description || ''}
|
||||||
entityFqn={policy.fullyQualifiedName}
|
entityFqn={policy.fullyQualifiedName}
|
||||||
entityName={policyName}
|
entityName={policyName}
|
||||||
|
@ -261,7 +261,7 @@ const RolesDetailPage = () => {
|
|||||||
</Typography.Title>
|
</Typography.Title>
|
||||||
<DescriptionV1
|
<DescriptionV1
|
||||||
hasEditAccess
|
hasEditAccess
|
||||||
className="m-b-md"
|
className="m-y-md"
|
||||||
description={role.description || ''}
|
description={role.description || ''}
|
||||||
entityFqn={role.fullyQualifiedName}
|
entityFqn={role.fullyQualifiedName}
|
||||||
entityName={roleName}
|
entityName={roleName}
|
||||||
@ -275,7 +275,9 @@ const RolesDetailPage = () => {
|
|||||||
|
|
||||||
<Tabs data-testid="tabs" defaultActiveKey="policies">
|
<Tabs data-testid="tabs" defaultActiveKey="policies">
|
||||||
<TabPane key="policies" tab={t('label.policy-plural')}>
|
<TabPane key="policies" tab={t('label.policy-plural')}>
|
||||||
<Space className="w-full" direction="vertical">
|
<Space
|
||||||
|
className="role-detail-tab w-full"
|
||||||
|
direction="vertical">
|
||||||
<Button
|
<Button
|
||||||
data-testid="add-policy"
|
data-testid="add-policy"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ant-space {
|
.role-detail-tab.ant-space {
|
||||||
> .ant-space-item:first-child {
|
> .ant-space-item:first-child {
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user