mirror of
https://github.com/nocobase/nocobase.git
synced 2026-09-24 16:02:20 +08:00
fix(calendar): limit popup height (#9492)
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user