fix: random sizing issue with alerts query builder (#5116)

* fix: alerts qb rendering

* fix: picker z-index

* fix: intercom z-index

* fix: add antd z-index chart

* fix: add antd z-index chart
This commit is contained in:
Vikrant Gupta 2024-05-31 13:52:52 +05:30 committed by GitHub
parent 0760917a4b
commit ba0f63ad1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 33 additions and 22 deletions

View File

@ -1,15 +1,15 @@
.options { .options {
width: 100%; width: 100%;
}
.option { .option {
padding: 8px 10px; padding: 8px 10px;
cursor: pointer; cursor: pointer;
overflow: auto; overflow: auto;
} }
.option:hover { .option:hover {
background-color: var(--bg-slate-200); background-color: var(--bg-slate-200);
}
} }
.submenu-container { .submenu-container {
@ -80,6 +80,15 @@
.ant-popover-inner { .ant-popover-inner {
padding: 0px; padding: 0px;
} }
.option {
padding: 8px 10px;
cursor: pointer;
overflow: auto;
}
.option:hover {
background-color: var(--bg-slate-200);
}
} }
.save-option-btn { .save-option-btn {

View File

@ -247,20 +247,22 @@ body {
padding-right: 20px; padding-right: 20px;
} }
.ant-drawer { // we want the z-index to be less than 1000 (z-index for antd drawers) as we do not want intercom to interfare when drawers are open
// do not modify this as this is required to hide intercom in modals .intercom-lightweight-app {
z-index: 1000000000000; z-index: 980 !important;
} }
.ant-modal-root { /**
.ant-modal-mask {
z-index: 2000000000000 !important;
}
.ant-modal-wrap {
z-index: 2000000000000 !important;
}
}
.ant-select-dropdown { z-index chart for components across application
z-index: 3000000000000 !important;
} intercom - 980
tooltip - 1070
popover - 1030
drawer - 1000
time picker - 1050
dropdown - 1050
modal - 1000
notifications - 2050
*/