Преглед на файлове

remove right margin on metrics view

Alexander Belanger преди 5 години
родител
ревизия
7f71f42b19
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      dashboard/src/main/home/cluster-dashboard/expanded-chart/metrics/MetricsSection.tsx

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/expanded-chart/metrics/MetricsSection.tsx

@@ -411,7 +411,7 @@ export default class MetricsSection extends Component<PropsType, StateType> {
             width={width} 
             height={height} 
             resolution={this.state.selectedRange}
-            margin={{ top: 60, right: 0, bottom: 0, left: 50 }}
+            margin={{ top: 60, right: -40, bottom: 0, left: 50 }}
           />}
         </ParentSize>
         <MetricSelector
@@ -516,7 +516,7 @@ const Dropdown = styled.div`
 const RangeWrapper = styled.div`
   position: absolute;
   top: 0;
-  left: calc(100% - 200px);
+  right: 0;
   font-weight: bold;
   width: 156px;
 `;