mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-19 06:28:03 +00:00
fix ui issue for bot roles edit and display (#21283)
This commit is contained in:
parent
eb371bca12
commit
2cf8d9e8e2
@ -25,7 +25,7 @@ const InheritedRolesCard = ({ userData }: InheritedRolesCardProps) => {
|
||||
|
||||
return (
|
||||
<Card
|
||||
className="new-header-border-card"
|
||||
className="bot-page-roles-card-header"
|
||||
key="inherited-roles-card-component"
|
||||
title={t('label.inherited-role-plural')}>
|
||||
<Fragment>
|
||||
|
@ -82,7 +82,7 @@ const RolesCard = ({
|
||||
if (isAdminUser) {
|
||||
return (
|
||||
<Card
|
||||
className="new-header-border-card"
|
||||
className="bot-page-roles-card-header"
|
||||
extra={
|
||||
!isRolesEdit && (
|
||||
<EditIconButton
|
||||
|
@ -127,3 +127,18 @@
|
||||
|
||||
border: 1px solid @grey-15;
|
||||
}
|
||||
|
||||
.bot-page-roles-card-header {
|
||||
.ant-card-head {
|
||||
background: @grey-50;
|
||||
border-radius: @border-radius-sm;
|
||||
.text-sm();
|
||||
font-weight: 500;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.ant-card-body {
|
||||
height: auto !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user