Remove unnecessary div

pull/10616/head
Alex P 2018-06-28 15:22:03 -07:00
parent 46cb1fd507
commit 87feb2ca80
2 changed files with 3 additions and 12 deletions

View File

@ -3,9 +3,7 @@ import React, {PureComponent} from 'react'
class LogsGraphContainer extends PureComponent { class LogsGraphContainer extends PureComponent {
public render() { public render() {
return ( return (
<div className="logs-viewer--graph-container"> <div className="logs-viewer--graph-container">{this.props.children}</div>
<div className="logs-viewer--graph">{this.props.children}</div>
</div>
) )
} }
} }

View File

@ -34,7 +34,7 @@ $severity-debug-intense: $g10-wolf;
} }
.logs-viewer--graph-container { .logs-viewer--graph-container {
padding: 22px ($logs-viewer-gutter - 16px) 10px ($logs-viewer-gutter - 16px); padding: 22px $logs-viewer-gutter 10px $logs-viewer-gutter;
height: $logs-viewer-graph-height; height: $logs-viewer-graph-height;
@include gradient-v($g2-kevlar, $g0-obsidian); @include gradient-v($g2-kevlar, $g0-obsidian);
display: flex; display: flex;
@ -231,14 +231,7 @@ $severity-debug-intense: $g10-wolf;
width: 170px; width: 170px;
} }
// Graph // Table Dots
.logs-viewer--graph {
position: relative;
width: 100%;
height: 100%;
padding: 8px 16px;
}
.logs-viewer--dot { .logs-viewer--dot {
width: 12px; width: 12px;
height: 12px; height: 12px;