Commit 14b2dad9 by Ivana Huckova Committed by GitHub

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

parent 6cad0580
...@@ -47,6 +47,9 @@ const getStyles = (theme: GrafanaTheme) => ({ ...@@ -47,6 +47,9 @@ const getStyles = (theme: GrafanaTheme) => ({
button: css` button: css`
margin-right: ${theme.spacing.sm}; margin-right: ${theme.spacing.sm};
`, `,
fullWidth: css`
width: 100%;
`,
}); });
export interface Props extends Themeable { export interface Props extends Themeable {
...@@ -139,7 +142,7 @@ class LiveLogs extends PureComponent<Props, State> { ...@@ -139,7 +142,7 @@ class LiveLogs extends PureComponent<Props, State> {
return ( return (
<div> <div>
<table> <table className={styles.fullWidth}>
<tbody <tbody
onScroll={isPaused ? undefined : this.onScroll} onScroll={isPaused ? undefined : this.onScroll}
className={cx(['logs-rows', styles.logsRowsLive])} className={cx(['logs-rows', styles.logsRowsLive])}
......
...@@ -16,7 +16,7 @@ const getStyles = memoizeOne(() => { ...@@ -16,7 +16,7 @@ const getStyles = memoizeOne(() => {
position: absolute; position: absolute;
opacity: 0; opacity: 0;
height: auto; height: auto;
width: auto; width: 100%;
`, `,
logsEnterActive: css` logsEnterActive: css`
label: logsEnterActive; label: logsEnterActive;
...@@ -28,7 +28,7 @@ const getStyles = memoizeOne(() => { ...@@ -28,7 +28,7 @@ const getStyles = memoizeOne(() => {
position: absolute; position: absolute;
opacity: 1; opacity: 1;
height: auto; height: auto;
width: auto; width: 100%;
`, `,
logsExitActive: css` logsExitActive: css`
label: logsExitActive; label: logsExitActive;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment