From a115729c555c5cfa6467b204b08fc5c73957f9bc Mon Sep 17 00:00:00 2001 From: kay delaney <45561153+kaydelaney@users.noreply.github.com> Date: Wed, 22 Jan 2020 16:10:19 +0000 Subject: [PATCH] Explore: Fixes some LogDetailsRow markup (#21671) - Moves filter titles to icons rather than table cell - Increases colspan of ad-hoc stats cell instead of rendering empty cells for parsed fields --- .../src/components/Logs/LogDetailsRow.tsx | 29 +++++++++++++------ 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/packages/grafana-ui/src/components/Logs/LogDetailsRow.tsx b/packages/grafana-ui/src/components/Logs/LogDetailsRow.tsx index 50b81e17514..bf53bacd1e7 100644 --- a/packages/grafana-ui/src/components/Logs/LogDetailsRow.tsx +++ b/packages/grafana-ui/src/components/Logs/LogDetailsRow.tsx @@ -92,17 +92,28 @@ class UnThemedLogDetailsRow extends PureComponent { return ( {/* Action buttons - show stats/filter results */} - - + + - isLabel && this.filterLabel()} className={style.logsDetailsIcon}> - {isLabel && } - - - isLabel && this.filterOutLabel()} className={style.logsDetailsIcon}> - {isLabel && } - + {isLabel && ( + <> + + + + + + + + )} {/* Key - value columns */} {parsedKey}