Skip to content

Commit

Permalink
smol polishes
Browse files Browse the repository at this point in the history
  • Loading branch information
aforaleka committed Oct 3, 2024
1 parent ea18ea4 commit 89b5ffb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/views/forms/TradeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ const $ToggleGroup = styled(ToggleGroup)`
gap: 0;
img {
height: 0;
display: none;
}
}
` as typeof ToggleGroup;
Expand Down
2 changes: 1 addition & 1 deletion src/views/forms/TradeForm/MarketLeverageInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const MarketLeverageInput = ({
<$WithLabel
key="leverage"
label={
<div tw="flex gap-0.5">
<div tw="flex gap-[0.5ch]">
<WithTooltip tooltip="leverage" side="right">
{stringGetter({ key: STRING_KEYS.LEVERAGE })}
</WithTooltip>
Expand Down
4 changes: 1 addition & 3 deletions src/views/forms/TradeForm/TradeSizeInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,7 @@ export const TradeSizeInputs = () => {
>
{stringGetter({ key: STRING_KEYS.AMOUNT })}
</WithTooltip>
{id && (
<DisplayUnitTag tw="ml-[0.5ch]" assetId={id} entryPoint="tradeAmountInputAssetTag" />
)}
{id && <DisplayUnitTag assetId={id} entryPoint="tradeAmountInputAssetTag" />}
</>
}
slotRight={inputToggleButton()}
Expand Down
4 changes: 0 additions & 4 deletions src/views/tables/PositionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,6 @@ export const PositionsTable = ({
<$Table
key={currentMarket ?? 'positions'}
label={stringGetter({ key: STRING_KEYS.POSITIONS })}
defaultSortDescriptor={{
column: 'market',
direction: 'ascending',
}}
data={positionsData}
columns={columnKeys.map((key: PositionsTableColumnKey) =>
getPositionsTableColumnDef({
Expand Down

0 comments on commit 89b5ffb

Please sign in to comment.