From e0ee3bd8ea413bcef618b05016c3791e6e7eb9dd Mon Sep 17 00:00:00 2001 From: mahboobm Date: Thu, 27 Dec 2018 16:05:57 +0330 Subject: [PATCH 1/3] Remove comparision --- src/botPage/view/Dialogs/Chart.js | 5 +---- static/css/_chart.scss | 7 ++++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/botPage/view/Dialogs/Chart.js b/src/botPage/view/Dialogs/Chart.js index ca99986d28..109f4fecda 100644 --- a/src/botPage/view/Dialogs/Chart.js +++ b/src/botPage/view/Dialogs/Chart.js @@ -3,12 +3,10 @@ import { setSmartChartsPublicPath, ChartTypes, StudyLegend, - Comparison, Views, Timeperiod, DrawTools, Share, - ComparisonList, CrosshairToggle, ChartSize, } from '@binary-com/smartcharts'; @@ -112,7 +110,7 @@ class ChartContent extends PureComponent { delete this.listeners[requsestKey]; } - renderTopWidgets = () => ; + renderTopWidgets = () => ; renderControls = () => ( @@ -120,7 +118,6 @@ class ChartContent extends PureComponent { - diff --git a/static/css/_chart.scss b/static/css/_chart.scss index f7aa05ccc3..e5f8f88abc 100644 --- a/static/css/_chart.scss +++ b/static/css/_chart.scss @@ -24,8 +24,13 @@ .cq-chart-controls { .cq-menu-btn > .cq-toggle { - padding: 0.35em 0em !important; + padding: 0.35em 0em !important; } + + .cq-zoom-out { + padding-right: 2em !important; + } + .ic-icon-with-sub { &:hover .ic-subtitle { visibility: visible; From 4cbf4539dc2d9841e51784ccf0b51065e9ff8e0c Mon Sep 17 00:00:00 2001 From: mahboobm Date: Thu, 27 Dec 2018 16:46:30 +0330 Subject: [PATCH 2/3] Clean up --- static/css/_chart.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/static/css/_chart.scss b/static/css/_chart.scss index e5f8f88abc..1776541315 100644 --- a/static/css/_chart.scss +++ b/static/css/_chart.scss @@ -23,12 +23,13 @@ } .cq-chart-controls { - .cq-menu-btn > .cq-toggle { - padding: 0.35em 0em !important; - } - - .cq-zoom-out { - padding-right: 2em !important; + .cq-menu-btn { + > .cq-toggle { + padding: 0.35em 0em !important; + } + .cq-zoom-out { + padding-right: 2em !important; + } } .ic-icon-with-sub { From bb14b3c7de5bcb026ac006f590e15a6da69ed45f Mon Sep 17 00:00:00 2001 From: mahboobm Date: Sun, 30 Dec 2018 10:26:09 +0330 Subject: [PATCH 3/3] Style fix --- static/css/_chart.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/static/css/_chart.scss b/static/css/_chart.scss index 1776541315..063a9d3266 100644 --- a/static/css/_chart.scss +++ b/static/css/_chart.scss @@ -23,13 +23,12 @@ } .cq-chart-controls { - .cq-menu-btn { - > .cq-toggle { - padding: 0.35em 0em !important; - } - .cq-zoom-out { - padding-right: 2em !important; - } + .cq-menu-btn > .cq-toggle { + padding: 0.35em 0em !important; + } + + .cq-chart-size > :first-child { + margin-right: 2em !important; } .ic-icon-with-sub {