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 {
width: 3.5rem;
width: 3rem;
text-align: center;
}

View file

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

View file

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