mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SearchV2: Fix scroll issue in folder folder view page (#50010)
This commit is contained in:
parent
ad25e2a20c
commit
07bfa13770
@ -151,7 +151,7 @@ export const FolderSection: FC<SectionHeaderProps> = ({
|
|||||||
|
|
||||||
// Skip the folder wrapper
|
// Skip the folder wrapper
|
||||||
if (renderStandaloneBody) {
|
if (renderStandaloneBody) {
|
||||||
return <div>{renderResults()}</div>;
|
return <div className={styles.folderViewResults}>{renderResults()}</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -227,6 +227,9 @@ const getSectionHeaderStyles = stylesFactory((theme: GrafanaTheme, selected = fa
|
|||||||
icon: css`
|
icon: css`
|
||||||
padding: 0 ${sm} 0 ${editable ? 0 : sm};
|
padding: 0 ${sm} 0 ${editable ? 0 : sm};
|
||||||
`,
|
`,
|
||||||
|
folderViewResults: css`
|
||||||
|
overflow: auto;
|
||||||
|
`,
|
||||||
text: css`
|
text: css`
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
|
Loading…
Reference in New Issue
Block a user