Livetailing: set table withd to 100% (#21213)

This commit is contained in:
Ivana Huckova
2019-12-20 11:21:04 +01:00
committed by GitHub
parent 6cad058018
commit 14b2dad9da
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -47,6 +47,9 @@ const getStyles = (theme: GrafanaTheme) => ({
button: css`
margin-right: ${theme.spacing.sm};
`,
fullWidth: css`
width: 100%;
`,
});
export interface Props extends Themeable {
@@ -139,7 +142,7 @@ class LiveLogs extends PureComponent<Props, State> {
return (
<div>
<table>
<table className={styles.fullWidth}>
<tbody
onScroll={isPaused ? undefined : this.onScroll}
className={cx(['logs-rows', styles.logsRowsLive])}
@@ -16,7 +16,7 @@ const getStyles = memoizeOne(() => {
position: absolute;
opacity: 0;
height: auto;
width: auto;
width: 100%;
`,
logsEnterActive: css`
label: logsEnterActive;
@@ -28,7 +28,7 @@ const getStyles = memoizeOne(() => {
position: absolute;
opacity: 1;
height: auto;
width: auto;
width: 100%;
`,
logsExitActive: css`
label: logsExitActive;