Skip to content

Commit e860bb2

Browse files
committed
Include latest color fixes
1 parent 1d8817e commit e860bb2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prop-types": "^15.5.10",
2020
"raf": "^3.4.0",
2121
"react-color": "^2.13.8",
22-
"react-colorscales": "0.5.5",
22+
"react-colorscales": "0.5.7",
2323
"react-dropzone": "^4.2.9",
2424
"react-plotly.js": "^2.2.0",
2525
"react-rangeslider": "^2.2.0",

src/components/widgets/ColorscalePicker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ class Scale extends Component {
6262
<ColorscalePicker
6363
onChange={onColorscaleChange}
6464
colorscale={selected}
65-
width={200}
65+
width={215}
6666
colorscaleType={this.state.selectedColorscaleType}
6767
onColorscaleTypeChange={this.onColorscaleTypeChange}
6868
disableSwatchControls
69-
scaleLength={6}
69+
scaleLength={7}
7070
/>
7171
<Info>{description}</Info>
7272
</Fragment>

src/styles/components/widgets/_colorscalepicker.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.colorscalePickerContainer {
2-
min-width: 200px;
2+
min-width: 215px;
33
position: relative;
44
padding: 0;
55
resize: none;

0 commit comments

Comments
 (0)