mirror of
https://github.com/nocobase/nocobase.git
synced 2026-09-01 14:57:36 +08:00
fix(plugin-calendar): add scrollbar to v2 calendar overflow (#10138)
This commit is contained in:
+2
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user