diff --git a/src/sass/ant.less b/src/sass/ant.less index 0a27487d2..b0fa36564 100644 --- a/src/sass/ant.less +++ b/src/sass/ant.less @@ -16,6 +16,16 @@ font-size: 13px; } +// NG-ZORRO's global select patch positions dropdowns at `top: 100%`. In a CDK +// overlay Safari resolves that percentage against the pane's content height, +// which leaves an equally tall blank area above the options. +.cdk-overlay-pane > .ant-select-dropdown { + position: static; + top: auto; + left: auto; + margin: 0; +} + .dark-dropdown { background-color: var(--el-dropdown-bg-color);