mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
LogsPanel: Fix scrolling in dashboards (#28974)
This commit is contained in:
parent
71df15738f
commit
bbb1f72963
@ -117,7 +117,7 @@ class UnThemedLogRows extends PureComponent<Props, State> {
|
|||||||
|
|
||||||
// For horizontal scrolling we can't use CustomScrollbar as it causes the problem with logs context - it is not visible
|
// For horizontal scrolling we can't use CustomScrollbar as it causes the problem with logs context - it is not visible
|
||||||
// for top log rows. Therefore we use CustomScrollbar only in LogsPanel and for Explore, we use custom css styling.
|
// for top log rows. Therefore we use CustomScrollbar only in LogsPanel and for Explore, we use custom css styling.
|
||||||
const horizontalScrollWindow = wrapLogMessage && !disableCustomHorizontalScroll ? '' : logsRowsHorizontalScroll;
|
const horizontalScrollWindow = wrapLogMessage || disableCustomHorizontalScroll ? '' : logsRowsHorizontalScroll;
|
||||||
|
|
||||||
// Staged rendering
|
// Staged rendering
|
||||||
const processedRows = dedupedRows ? dedupedRows : [];
|
const processedRows = dedupedRows ? dedupedRows : [];
|
||||||
|
Loading…
Reference in New Issue
Block a user