restric global effect css of manage dropdown button (#11504)

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
This commit is contained in:
Ashish Gupta 2023-05-10 00:30:14 +05:30 committed by GitHub
parent 100f885138
commit 7221965629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 16 deletions

View File

@ -409,6 +409,7 @@ const GlossaryHeader = ({
items: manageButtonContent,
}}
open={showActions}
overlayClassName="glossary-manage-dropdown-list-container"
overlayStyle={{ width: '350px' }}
placement="bottomRight"
trigger={['click']}

View File

@ -47,16 +47,19 @@
}
}
.ant-dropdown-menu {
padding: 8px 0px;
background: @white;
border: 1px solid #dde3ea;
box-shadow: 1px 1px 3px rgb(0 0 0 / 12%);
border-radius: 4px;
.ant-dropdown-menu-item {
padding: 5px 16px;
.glossary-manage-dropdown-list-container {
.ant-dropdown-menu {
padding: 8px 0px;
background: @white;
border: 1px solid #dde3ea;
box-shadow: 1px 1px 3px rgb(0 0 0 / 12%);
border-radius: 4px;
.ant-dropdown-menu-item {
padding: 5px 16px;
}
}
}
.glossary-tree-container {
.ant-tree-node-content-wrapper {
overflow: hidden;

View File

@ -1095,6 +1095,7 @@ const TeamDetailsV1 = ({
align={{ targetOffset: [-12, 0] }}
menu={{ items: [DELETED_TOGGLE_MENU_ITEM] }}
open={showActions}
overlayClassName="manage-dropdown-list-container"
overlayStyle={{ width: '350px' }}
placement="bottomRight"
trigger={['click']}

View File

@ -51,13 +51,15 @@
background-color: @manage-button-bg-primary;
}
.ant-dropdown-menu {
padding: 8px 0px;
background: @white;
border: 1px solid #dde3ea;
box-shadow: 1px 1px 3px rgb(0 0 0 / 12%);
border-radius: 4px;
.ant-dropdown-menu-item {
padding: 5px 16px;
.manage-dropdown-list-container {
.ant-dropdown-menu {
padding: 8px 0px;
background: @white;
border: 1px solid #dde3ea;
box-shadow: 1px 1px 3px rgb(0 0 0 / 12%);
border-radius: 4px;
.ant-dropdown-menu-item {
padding: 5px 16px;
}
}
}

View File

@ -215,6 +215,7 @@ const ManageButton: FC<Props> = ({
align={{ targetOffset: [-12, 0] }}
menu={{ items }}
open={showActions}
overlayClassName="manage-dropdown-list-container"
overlayStyle={{ width: '350px' }}
placement="bottomRight"
trigger={['click']}