<commit_before>import React, { Component, PropTypes } from 'react';
import { compose, style } from 'glamor';

const base = style({
  backgroundColor: 'transparent',
  border: 0,
  boxSizing: 'border-box',
  fontSize: 40,
  height: 50,
  marginBottom: 10,
  outline: 0,
  width: '100%',
});

const QueryField = class extends Component {
  render() {
    const { theme, onChange, value } = this.props;
    // apply theme styles
    const styles = theme.search ? compose(base, theme.search) : base;
    return (
      <input
        ref={c => { this.input = c && c; }}
        onChange={onChange}
        value={value}
        {...styles}
      />
    );
  }
};

QueryField.propTypes = {
  onChange: PropTypes.func,
  theme: PropTypes.object,
  value: PropTypes.string,
};

export default QueryField;<commit_msg>fix query box text overflow<commit_after>import React, { Component, PropTypes } from 'react';
import { compose, style } from 'glamor';

const base = style({
  backgroundColor: 'transparent',
  border: 0,
  boxSizing: 'border-box',
  fontSize: 40,
  paddingTop: 0,
  paddingBottom: 0,
  marginBottom: 10,
  outline: 0,
  overflow: 'visible',
  width: '100%',
});

const QueryField = class extends Component {
  render() {
    const { theme, onChange, value } = this.props;
    // apply theme styles
    const styles = theme.search ? compose(base, theme.search) : base;
    return (
      <input
        ref={c => { this.input = c && c; }}
        onChange={onChange}
        value={value}
        {...styles}
      />
    );
  }
};

QueryField.propTypes = {
  onChange: PropTypes.func,
  theme: PropTypes.object,
  value: PropTypes.string,
};

export default QueryField;
{'fraction_non_alphanumeric': 0.14183551847437426, 'fraction_numerical': 0.013110846245530394, 'mean_word_length': 2.9505882352941177, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3300415', 'n_tokens_mistral': 552, 'n_tokens_neox': 542, 'n_words': 145}