Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 51b6d26

Browse files
Nijil Nirmalnijil-deriv
authored andcommitted
Smartcharts changed to desktop version
1 parent c9bbd91 commit 51b6d26

File tree

2 files changed

+58
-58
lines changed

2 files changed

+58
-58
lines changed

src/botPage/view/Dialogs/Chart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class ChartContent extends PureComponent {
155155
chartType={this.state.chartType}
156156
granularity={this.state.granularity}
157157
symbol={this.state.symbol}
158-
isMobile={true}
158+
isMobile={false}
159159
topWidgets={this.renderTopWidgets}
160160
chartControlsWidgets={this.renderControls}
161161
requestAPI={this.requestAPI.bind(this)}

static/css/_chart.scss

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
1-
.smartcharts-mobile {
2-
font-size: 10px;
1+
// .smartcharts-mobile {
2+
// font-size: 10px;
33

4-
/*
5-
chart controls should still
6-
be visible when its dropdown shows up.
7-
*/
8-
.ciq-period,
9-
.cq-download,
10-
.ciq-views,
11-
.ciq-drawtools,
12-
.ciq-studies,
13-
.cq-chart-setting,
14-
.ciq-draw-tools,
15-
.cq-comparison-new,
16-
.ciq-chart-types {
17-
.cq-menu-overlay {
18-
height: calc(100% - 40px);
19-
}
20-
}
4+
// /*
5+
// chart controls should still
6+
// be visible when its dropdown shows up.
7+
// */
8+
// .ciq-period,
9+
// .cq-download,
10+
// .ciq-views,
11+
// .ciq-drawtools,
12+
// .ciq-studies,
13+
// .cq-chart-setting,
14+
// .ciq-draw-tools,
15+
// .cq-comparison-new,
16+
// .ciq-chart-types {
17+
// .cq-menu-overlay {
18+
// height: calc(100% - 40px);
19+
// }
20+
// }
2121

22-
.cq-modal-dropdown {
23-
position: absolute !important;
24-
}
22+
// .cq-modal-dropdown {
23+
// position: absolute !important;
24+
// }
2525

26-
.drag-price > .price {
27-
font-size: 10px;
28-
padding: 1px 5px;
29-
}
26+
// .drag-price > .price {
27+
// font-size: 10px;
28+
// padding: 1px 5px;
29+
// }
3030

31-
.ic-icon > svg {
32-
box-sizing: content-box !important;
33-
}
31+
// .ic-icon > svg {
32+
// box-sizing: content-box !important;
33+
// }
3434

35-
.cq-chart-controls {
36-
.cq-menu-btn > .cq-toggle {
37-
padding: 0.35em 0em !important;
38-
}
35+
// .cq-chart-controls {
36+
// .cq-menu-btn > .cq-toggle {
37+
// padding: 0.35em 0em !important;
38+
// }
3939

40-
.cq-chart-size > :first-child {
41-
margin-right: 2em !important;
42-
}
40+
// .cq-chart-size > :first-child {
41+
// margin-right: 2em !important;
42+
// }
4343

44-
.ic-icon-with-sub {
45-
&:hover .ic-subtitle {
46-
visibility: visible;
47-
}
48-
.ic-subtitle {
49-
visibility: hidden;
50-
width: 60px;
51-
color: #fff !important;
52-
background: #15212d;
53-
padding: 5px 0;
54-
border-radius: 5px;
55-
position: absolute;
56-
z-index: 1;
57-
bottom: 40px;
58-
left: -15px;
59-
display: block;
60-
margin-bottom: 5px;
61-
}
62-
}
63-
}
64-
}
44+
// .ic-icon-with-sub {
45+
// &:hover .ic-subtitle {
46+
// visibility: visible;
47+
// }
48+
// .ic-subtitle {
49+
// visibility: hidden;
50+
// width: 60px;
51+
// color: #fff !important;
52+
// background: #15212d;
53+
// padding: 5px 0;
54+
// border-radius: 5px;
55+
// position: absolute;
56+
// z-index: 1;
57+
// bottom: 40px;
58+
// left: -15px;
59+
// display: block;
60+
// margin-bottom: 5px;
61+
// }
62+
// }
63+
// }
64+
// }

0 commit comments

Comments
 (0)