move tooltip placement
This commit is contained in:
parent
c8bdf3f7da
commit
9345224054
|
@ -429,7 +429,7 @@ const Orderbook = () => {
|
||||||
<div id="trade-step-three" className="flex items-center space-x-2">
|
<div id="trade-step-three" className="flex items-center space-x-2">
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content={showBuys ? t('trade:hide-bids') : t('trade:show-bids')}
|
content={showBuys ? t('trade:hide-bids') : t('trade:show-bids')}
|
||||||
placement="top"
|
placement="bottom"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
className={`rounded ${
|
className={`rounded ${
|
||||||
|
@ -443,7 +443,7 @@ const Orderbook = () => {
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content={showSells ? t('trade:hide-asks') : t('trade:show-asks')}
|
content={showSells ? t('trade:hide-asks') : t('trade:show-asks')}
|
||||||
placement="top"
|
placement="bottom"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
className={`rounded ${
|
className={`rounded ${
|
||||||
|
@ -455,7 +455,7 @@ const Orderbook = () => {
|
||||||
<OrderbookIcon className="h-4 w-4" side="sell" />
|
<OrderbookIcon className="h-4 w-4" side="sell" />
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip content={'Reset and center orderbook'} placement="top">
|
<Tooltip content={'Reset and center orderbook'} placement="bottom">
|
||||||
<button
|
<button
|
||||||
className={`rounded ${
|
className={`rounded ${
|
||||||
showSells ? 'bg-th-bkg-3' : 'bg-th-bkg-2'
|
showSells ? 'bg-th-bkg-3' : 'bg-th-bkg-2'
|
||||||
|
@ -468,7 +468,11 @@ const Orderbook = () => {
|
||||||
</div>
|
</div>
|
||||||
{market ? (
|
{market ? (
|
||||||
<div id="trade-step-four">
|
<div id="trade-step-four">
|
||||||
<Tooltip content={t('trade:grouping')} placement="top" delay={250}>
|
<Tooltip
|
||||||
|
content={t('trade:grouping')}
|
||||||
|
placement="bottom"
|
||||||
|
delay={250}
|
||||||
|
>
|
||||||
<GroupSize
|
<GroupSize
|
||||||
tickSize={market.tickSize}
|
tickSize={market.tickSize}
|
||||||
onChange={onGroupSizeChange}
|
onChange={onGroupSizeChange}
|
||||||
|
|
Loading…
Reference in New Issue