Logs: Fixed LogContext being underneath the table (#52165) (#52202)

(cherry picked from commit 63776d5a0e)

Co-authored-by: Sven Grossmann <Svennergr@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-07-14 10:53:48 +02:00
committed by GitHub
co-authored by Sven Grossmann
parent 63eb9a94a1
commit 9a7acc9fd2
@@ -123,7 +123,9 @@ class UnThemedLogRowMessage extends PureComponent<Props> {
const styles = getStyles(theme);
return (
<td className={style.logsRowMessage}>
// When context is open, the position has to be NOT relative.
// Setting the postion as inline-style to overwrite the more sepecific style definition from `style.logsRowMessage`.
<td style={contextIsOpen ? { position: 'unset' } : undefined} className={style.logsRowMessage}>
<div
className={cx({ [styles.positionRelative]: wrapLogMessage }, { [styles.horizontalScroll]: !wrapLogMessage })}
>