mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -05:00
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:
parent
46ff0bd3e1
commit
c347460034
3 changed files with 1 additions and 4 deletions
|
@ -41,6 +41,6 @@ See https://github.com/LLK/scratch-paint/issues/13 */
|
|||
}
|
||||
|
||||
.input-small {
|
||||
width: 3.5rem;
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue