Skip to content

Commit

Permalink
machines: Fix "Start VM" checkbox layout
Browse files Browse the repository at this point in the history
Drop the two classes and the now unused `dialog-checkbox` CSS, to get
the default checkbox size and layout. Neither class is being used at
runtime or in tests.

Fixes #8916
Closes #9177
  • Loading branch information
martinpitt authored and larskarlitski committed May 16, 2018
1 parent a931f2d commit 9ce5656
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class CreateVM extends React.Component {
</label>
</td>
<td>
<input id="start-vm" className="form-control dialog-checkbox" type="checkbox"
<input id="start-vm" type="checkbox"
checked={this.props.vmParams.startVm}
onChange={this.onChangedEventChecked.bind(this, 'startVm')} />
</td>
Expand Down
5 changes: 0 additions & 5 deletions pkg/machines/components/create-vm-dialog/createVmDialog.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@
color: #888888;
}

.dialog-checkbox {
width: 26px;
margin: 0;
}

#vendor-select .dropdown-header,
#vendor-select .divider {
margin-top: 2ex;
Expand Down

0 comments on commit 9ce5656

Please sign in to comment.