Skip to content

Commit 0d41df9

Browse files
Merge pull request #634 from plotly/style
style tweaks
2 parents f33df8c + 05494d7 commit 0d41df9

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

src/default_panels/GraphCreatePanel.js

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
SubplotCreator,
1212
TraceAccordion,
1313
TraceSelector,
14-
TextEditor,
1514
Numeric,
1615
TraceTypeSection,
1716
} from '../components';
@@ -23,7 +22,6 @@ import {
2322
const GraphCreatePanel = (props, {localize: _}) => {
2423
return (
2524
<TraceAccordion canAdd excludeFits>
26-
<TextEditor label={_('Name')} attr="name" richTextOnly />
2725
<TraceSelector label={_('Type')} attr="type" show />
2826

2927
<PlotlySection name={_('Data')}>
@@ -32,14 +30,6 @@ const GraphCreatePanel = (props, {localize: _}) => {
3230
<DataSelector label={_('Values')} attr="values" />
3331
<DataSelector label={_('Labels')} attr="labels" />
3432
<DataSelector label={_('Locations')} attr="locations" />
35-
<Radio
36-
label={_('Orientation')}
37-
attr="orientation"
38-
options={[
39-
{label: _('Vertical'), value: 'v'},
40-
{label: _('Horizontal'), value: 'h'},
41-
]}
42-
/>
4333

4434
<DataSelector
4535
label={{
@@ -65,6 +55,14 @@ const GraphCreatePanel = (props, {localize: _}) => {
6555
}}
6656
attr="z"
6757
/>
58+
<Radio
59+
label={_('Orientation')}
60+
attr="orientation"
61+
options={[
62+
{label: _('Vertical'), value: 'v'},
63+
{label: _('Horizontal'), value: 'h'},
64+
]}
65+
/>
6866
<HistogramInfoVertical>
6967
{_(
7068
'Note: in vertical orientation, X values are used for bins and Y values for weights.'

src/styles/components/containers/_fold.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
svg {
7272
will-change: transform;
7373
transition: transform 0.1s ease-in-out;
74-
transform: rotate(-180deg);
74+
transform: rotate(-90deg);
7575
font-weight: bold;
7676
transform-origin: center center;
7777
}
@@ -82,7 +82,7 @@
8282
}
8383
&--open {
8484
svg {
85-
transform: rotate(-90deg);
85+
transform: rotate(0deg);
8686
}
8787
}
8888
}

0 commit comments

Comments
 (0)