remove small from live inputs

Fixes #131 by instead of changing the small width, simply just removing the small tag from things that don’t need it.
This commit is contained in:
Matthew Taylor 2017-11-07 09:37:12 -05:00
parent 46ff0bd3e1
commit c347460034
3 changed files with 1 additions and 4 deletions

View file

@ -41,6 +41,6 @@ See https://github.com/LLK/scratch-paint/issues/13 */
} }
.input-small { .input-small {
width: 3.5rem; width: 3rem;
text-align: center; text-align: center;
} }

View file

@ -65,7 +65,6 @@ const ModeToolsComponent = props => {
/> />
</div> </div>
<LiveInput <LiveInput
small
max={MAX_STROKE_WIDTH} max={MAX_STROKE_WIDTH}
min="1" min="1"
type="number" type="number"
@ -85,7 +84,6 @@ const ModeToolsComponent = props => {
/> />
</div> </div>
<LiveInput <LiveInput
small
max={MAX_STROKE_WIDTH} max={MAX_STROKE_WIDTH}
min="1" min="1"
type="number" type="number"

View file

@ -11,7 +11,6 @@ const LiveInput = LiveInputHOC(Input);
const StrokeWidthIndicatorComponent = props => ( const StrokeWidthIndicatorComponent = props => (
<InputGroup disabled={props.disabled}> <InputGroup disabled={props.disabled}>
<LiveInput <LiveInput
small
disabled={props.disabled} disabled={props.disabled}
max={MAX_STROKE_WIDTH} max={MAX_STROKE_WIDTH}
min="0" min="0"