diff --git a/packages/grafana-ui/src/components/Logs/LogRows.tsx b/packages/grafana-ui/src/components/Logs/LogRows.tsx index 29cd85b6dbf..0ef9916b6c6 100644 --- a/packages/grafana-ui/src/components/Logs/LogRows.tsx +++ b/packages/grafana-ui/src/components/Logs/LogRows.tsx @@ -117,7 +117,7 @@ class UnThemedLogRows extends PureComponent { // 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. - const horizontalScrollWindow = wrapLogMessage && !disableCustomHorizontalScroll ? '' : logsRowsHorizontalScroll; + const horizontalScrollWindow = wrapLogMessage || disableCustomHorizontalScroll ? '' : logsRowsHorizontalScroll; // Staged rendering const processedRows = dedupedRows ? dedupedRows : [];