Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Fix Toggle style broken
Browse files Browse the repository at this point in the history
  • Loading branch information
jducro committed Nov 29, 2018
1 parent 546278b commit 787da0d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v1.4.4 - 2018-11-29

* [FIX] - Fix style broken on Toggle

## v1.4.3 - 2018-11-29

* [FEATURE] - Improve caret position in columns
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deskpro/react-components",
"version": "1.4.3",
"version": "1.4.4-beta.0",
"description": "Deskpro React Components",
"main": "dist/index.js",
"homepage": "https://github.com/deskpro/react-components",
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Forms/Toggle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Toggle extends React.Component {
name={name}
checked={checked}
onChange={() => {}}
className="hidden right"
className="right"
/>
<label onClick={this.onClick} htmlFor={id}>
{children}
Expand Down
2 changes: 1 addition & 1 deletion tests/jest/Components/__snapshots__/testForms.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ exports[`>>> Forms --- Snapshot +++capturing Snapshot of Toggle 1`] = `
>
<input
checked={false}
className="hidden right"
className="right"
id={null}
name="radio1"
onChange={[Function]}
Expand Down

0 comments on commit 787da0d

Please sign in to comment.