From 93011ca7aa1c321f5244b6ea6d15d465488dc26a Mon Sep 17 00:00:00 2001
From: GibboK <17195702+gibbok@users.noreply.github.com>
Date: Tue, 4 Aug 2020 22:04:06 +0200
Subject: [PATCH] Fix bug: Canvas width is ignored (#5)
Fix bug https://github.com/gibbok/react-color-picker-palette/issues/4
---
README.md | 2 +-
package.json | 2 +-
src/ColorPickerPalette.tsx | 2 ++
src/__snapshots__/ColorPickerPalette.stories.storyshot | 6 ++++++
4 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 8b97a1c..0a69209 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Live demo here:
### Installation
-In your terminal navigate to you `package.json` file and run:
+This package is [available on npm](https://www.npmjs.com/package/react-color-picker-palette), to install it, use your terminal and navigate to you `package.json` file and run:
`npm i react-color-picker-palette`
diff --git a/package.json b/package.json
index fc10690..77ae525 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "react-color-picker-palette",
- "version": "2.0.3",
+ "version": "2.0.4",
"description": "ColorPickerPalette is a React reusable color picker palette written in TypeScript.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
diff --git a/src/ColorPickerPalette.tsx b/src/ColorPickerPalette.tsx
index fb32345..c3cd540 100644
--- a/src/ColorPickerPalette.tsx
+++ b/src/ColorPickerPalette.tsx
@@ -92,6 +92,8 @@ export const ColorPickerPalette = ({