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

This commit is contained in:
Sven Grossmann 2022-07-14 10:35:54 +02:00 committed by GitHub
parent a4d33a0f43
commit 63776d5a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 })}
>