Livetailing: set table withd to 100% (#21213)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user