add margin to slider
This commit is contained in:
parent
7587eb2e00
commit
d5bf0268b4
|
@ -423,6 +423,7 @@ export default function SpotMarketOrderSwapForm() {
|
|||
</div>
|
||||
</div>
|
||||
{swapFormSizeUi === 'slider' ? (
|
||||
<div className="mt-2">
|
||||
<SwapSlider
|
||||
useMargin={savedCheckboxSettings.margin}
|
||||
amount={
|
||||
|
@ -433,6 +434,7 @@ export default function SpotMarketOrderSwapForm() {
|
|||
onChange={setAmountFromSlider}
|
||||
step={1 / 10 ** (inputBank?.mintDecimals || 6)}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<PercentageSelectButtons
|
||||
amountIn={side === 'buy' ? quoteSize : baseSize}
|
||||
|
|
Loading…
Reference in New Issue