Skip to content

Commit

Permalink
Added fixed height and lineHeight to search box (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
roonyh authored and arunoda committed Apr 11, 2016
1 parent 59a9242 commit d78271b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dist/client/ui/text_filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ var TextFilter = function (_React$Component) {
display: 'block',
width: '100%',
boxSizing: 'border-box',
outline: 'none'
outline: 'none',
height: 26
};

var clearButtonStyle = {
Expand All @@ -78,7 +79,9 @@ var TextFilter = function (_React$Component) {
top: 0,
textAlign: 'center',
boxSizing: 'border-box',
cursor: 'pointer'
cursor: 'pointer',
height: 26,
lineHeight: '20px'
};

return _react2.default.createElement(
Expand Down
3 changes: 3 additions & 0 deletions src/client/ui/text_filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default class TextFilter extends React.Component {
width: '100%',
boxSizing: 'border-box',
outline: 'none',
height: 26,
};

const clearButtonStyle = {
Expand All @@ -39,6 +40,8 @@ export default class TextFilter extends React.Component {
textAlign: 'center',
boxSizing: 'border-box',
cursor: 'pointer',
height: 26,
lineHeight: '20px',
};

return (
Expand Down

0 comments on commit d78271b

Please sign in to comment.