Skip to content

Commit

Permalink
Removed margin top of the toggle component (ToolJet#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwn105 authored Oct 17, 2021
1 parent 37f9e3c commit 1c9c1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/_ui/Toggle/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
export default ({ defaultChecked, onChange }) => {
return (
<label className="form-switch mt-3">
<label className="form-switch">
<input className="form-check-input" type="checkbox" defaultChecked={defaultChecked} onChange={onChange} />
</label>
);
Expand Down

0 comments on commit 1c9c1af

Please sign in to comment.