mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Modal: Force modal content to overflow with scroll (#36754)
This commit is contained in:
@@ -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%;
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user