mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix styling of slider input to accommodate 4 digit values
This commit is contained in:
parent
e7ee4ecac7
commit
409a46e2c4
@ -80,7 +80,7 @@ export default function IAISlider(props: IAIFullSliderProps) {
|
|||||||
sliderMarkRightOffset = -7,
|
sliderMarkRightOffset = -7,
|
||||||
withInput = false,
|
withInput = false,
|
||||||
isInteger = false,
|
isInteger = false,
|
||||||
inputWidth = '5rem',
|
inputWidth = '5.5rem',
|
||||||
inputReadOnly = true,
|
inputReadOnly = true,
|
||||||
withReset = false,
|
withReset = false,
|
||||||
hideTooltip = false,
|
hideTooltip = false,
|
||||||
@ -236,6 +236,7 @@ export default function IAISlider(props: IAIFullSliderProps) {
|
|||||||
<NumberInputField
|
<NumberInputField
|
||||||
className="invokeai__slider-number-input"
|
className="invokeai__slider-number-input"
|
||||||
width={inputWidth}
|
width={inputWidth}
|
||||||
|
minWidth={inputWidth}
|
||||||
readOnly={inputReadOnly}
|
readOnly={inputReadOnly}
|
||||||
{...sliderNumberInputFieldProps}
|
{...sliderNumberInputFieldProps}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user