Modal: Force modal content to overflow with scroll (#36754)

This commit is contained in:
Ashley Harrison
2021-07-14 15:35:34 +01:00
committed by GitHub
parent 815f9a7557
commit 9cfb7d801f

View File

@@ -22,6 +22,9 @@ export const getModalStyles = stylesFactory((theme: GrafanaTheme2) => {
margin-left: auto;
margin-right: auto;
top: 10%;
max-height: 80%;
display: flex;
flex-direction: column;
`,
modalBackdrop: css`
position: fixed;
@@ -66,6 +69,7 @@ export const getModalStyles = stylesFactory((theme: GrafanaTheme2) => {
justify-content: flex-end;
`,
modalContent: css`
overflow: auto;
padding: ${theme.spacing(3)};
width: 100%;
`,