commit ef10742b11e51132e4fb6a2da7b8f40141f2e1fb parent 3601713ac2ce9663acdda2d9a7bf092417521e87 Author: therealFIGBERT <figbertwelner@gmail.com> Date: Sun, 24 Nov 2019 22:14:53 -0800 Renaming button css class Diffstat:
M | src/components/basicCalc/basicButton.js | | | 2 | +- |
M | src/index.css | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/basicCalc/basicButton.js b/src/components/basicCalc/basicButton.js @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; class BasicButton extends React.Component { render() { return ( - <button type='button' onClick={this.props.onButtonPress} className='calc calc__button' value={this.props.value}> + <button type='button' onClick={this.props.onButtonPress} className='calc calc__squareButton' value={this.props.value}> <span style={{fontSize: '2vw'}}>{this.props.value}</span> </button> ); diff --git a/src/index.css b/src/index.css @@ -54,7 +54,7 @@ body { margin-top: 2vmax; } -.calc__button { +.calc__squareButton { width: 5vmax; height: 5vmax; font-size: x-large;