fix(calendar): limit popup height (#9492)

This commit is contained in:
Zeke Zhang
2026-05-19 07:46:47 +08:00
committed by GitHub
parent e1dcf19352
commit ef1bb49066
@@ -13,6 +13,8 @@ const GlobalStyle = createGlobalStyle`
.rbc-overlay {
position: absolute;
z-index: 50;
max-height: ${({ theme }) => `min(360px, calc(100vh - ${theme.marginXL * 2}px))`};
overflow-y: auto;
margin-top: 5px;
border-radius: ${({ theme }) => `${theme.borderRadius}px`};
background-color: ${({ theme }) => theme.colorBgElevated};