diff --git a/src/components/Dropdown/Dropdown.module.css b/src/components/Dropdown/Dropdown.module.css index 8d249e1b..aff41076 100644 --- a/src/components/Dropdown/Dropdown.module.css +++ b/src/components/Dropdown/Dropdown.module.css @@ -88,6 +88,7 @@ limitations under the License. padding: 0; padding-block-end: var(--cpd-space-4x); cursor: pointer; + z-index: var(--cpd-dropdown-z-index); li { list-style: none; diff --git a/src/styles/global.css b/src/styles/global.css index fc82c0bf..b6651f51 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -17,6 +17,7 @@ limitations under the License. :root { --cpd-radius-pill-effect: 9999px; + --cpd-dropdown-z-index: 999; /* Default icon and avatar size */ --cpd-icon-button-size: var(--cpd-space-8x);