mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-30 11:56:01 +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>
|
||||
<DescriptionV1
|
||||
hasEditAccess
|
||||
className="m-t-md"
|
||||
className="m-y-md"
|
||||
description={policy.description || ''}
|
||||
entityFqn={policy.fullyQualifiedName}
|
||||
entityName={policyName}
|
||||
|
@ -261,7 +261,7 @@ const RolesDetailPage = () => {
|
||||
</Typography.Title>
|
||||
<DescriptionV1
|
||||
hasEditAccess
|
||||
className="m-b-md"
|
||||
className="m-y-md"
|
||||
description={role.description || ''}
|
||||
entityFqn={role.fullyQualifiedName}
|
||||
entityName={roleName}
|
||||
@ -275,7 +275,9 @@ const RolesDetailPage = () => {
|
||||
|
||||
<Tabs data-testid="tabs" defaultActiveKey="policies">
|
||||
<TabPane key="policies" tab={t('label.policy-plural')}>
|
||||
<Space className="w-full" direction="vertical">
|
||||
<Space
|
||||
className="role-detail-tab w-full"
|
||||
direction="vertical">
|
||||
<Button
|
||||
data-testid="add-policy"
|
||||
type="primary"
|
||||
|
@ -18,7 +18,7 @@
|
||||
padding-left: 16px;
|
||||
}
|
||||
}
|
||||
.ant-space {
|
||||
.role-detail-tab.ant-space {
|
||||
> .ant-space-item:first-child {
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user