mirror of https://github.com/grafana/grafana.git
parent
54faaba0b0
commit
8bc31a4da5
|
|
@ -75,11 +75,17 @@ export const getModalStyles = (theme: GrafanaTheme2) => {
|
|||
}),
|
||||
modalContent: css({
|
||||
overflow: 'auto',
|
||||
padding: theme.spacing(3),
|
||||
padding: theme.spacing(3, 3, 0, 3),
|
||||
marginBottom: theme.spacing(3),
|
||||
scrollbarWidth: 'thin',
|
||||
width: '100%',
|
||||
}),
|
||||
modalButtonRow: css({
|
||||
paddingTop: theme.spacing(3),
|
||||
background: theme.colors.background.primary,
|
||||
position: 'sticky',
|
||||
bottom: 0,
|
||||
paddingTop: theme.spacing(2),
|
||||
zIndex: 1,
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -186,9 +186,6 @@ export function ValueMappingsEditorModal({ value, onChange, onClose, showIconPic
|
|||
|
||||
export const getStyles = (theme: GrafanaTheme2) => ({
|
||||
tableWrap: css({
|
||||
// TODO remove maxHeight/overflow when Modal.ButtonRow is sticky
|
||||
maxHeight: 'calc(80vh - 170px)',
|
||||
overflow: 'auto',
|
||||
minHeight: '40px',
|
||||
}),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue