fix(plugin-calendar): add scrollbar to v2 calendar overflow (#10138)

This commit is contained in:
Katherine
2026-07-20 22:58:42 +08:00
committed by GitHub
parent 4ba4c6d0d2
commit 5318b71c8e
@@ -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: ${({ theme }) => `${theme.marginXXS}px`};
border-radius: ${({ theme }) => `${theme.borderRadius}px`};
background-color: ${({ theme }) => theme.colorBgElevated};