Minor: fixed ui layout issue of role page (#15481)

This commit is contained in:
Shailesh Parmar 2024-03-07 12:56:48 +05:30 committed by GitHub
parent ec5c3fc395
commit 26f55b31fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View File

@ -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}

View File

@ -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"

View File

@ -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;
} }