Role picker: extend width to prevent menu being out of page (#42047)

This commit is contained in:
Alexander Zobnin 2021-11-22 16:30:24 +03:00 committed by GitHub
parent 037fd9cc8c
commit 6f8cfc6def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ const getRolePickerInputStyles = (
`,
disabled && styles.inputDisabled,
css`
min-width: 260px;
min-width: 520px;
min-height: 32px;
height: auto;
flex-direction: row;

View File

@ -564,7 +564,7 @@ export const getStyles = (theme: GrafanaTheme2) => {
`,
menuOptionBody: css`
font-weight: ${theme.typography.fontWeightRegular};
padding: ${theme.spacing(0, 1, 0, 0)};
padding: ${theme.spacing(0, 1.5, 0, 0)};
`,
menuOptionDisabled: css`
color: ${theme.colors.text.disabled};