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

pull/21216/head
Ivana Huckova 6 years ago committed by GitHub
parent 6cad058018
commit 14b2dad9da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      public/app/features/explore/LiveLogs.tsx
  2. 4
      public/app/features/explore/utils/LogsCrossFadeTransition.tsx

@ -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;

Loading…
Cancel
Save