Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
center the production checkbox vertically
  • Loading branch information
poeschko committed Nov 14, 2018
commit 8d0db37210ca4e0c12d326391d2c20f47b93420c
1 change: 1 addition & 0 deletions fixtures/dom/src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class Header extends React.Component {
<div className="header-controls">
<input
id="react_production"
className="header__checkbox"
type="checkbox"
checked={this.state.production}
onChange={this.handleProductionChange}
Expand Down
4 changes: 4 additions & 0 deletions fixtures/dom/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ textarea {
width: 100%;
}

.header__checkbox {
vertical-align: middle;
}

.header__label {
font-size: 12px;
color: #ccc;
Expand Down