Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small UI fixes #372

Merged
merged 6 commits into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/frontend/src/view/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function LinkButton({
<Link
href={href}
className={cx(
'text-center !text-white !no-underline',
'flex justify-center !text-white !no-underline',
mainClassNames,
classNameMap[variant],
className
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function NewSpotForcedWithdrawalPage(props: NewForcedActionFormProps) {
<>
Using this form you request a withdrawal of your funds. This is achieved
through a mechanism called full withdrawals,{' '}
<Link href="https://docs.starkware.co/starkex/perpetual/perpetual-trading-forced-withdrawal-and-forced-trade.html#forced_withdrawal">
<Link href="https://docs.starkware.co/starkex/spot/spot-trading-full-withdrawals.html">
link to docs
</Link>
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function NewPerpetualForcedTradeFormContent(
<span>
<span className="text-sm font-medium text-zinc-500">Position</span>{' '}
<span className="text-lg font-semibold">
{props.positionOrVaultId.toString()}
#{props.positionOrVaultId.toString()}
</span>
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const TRADE_INSTRUCTIONS = [
Once the offer is accepted you can submit a trade request.
</span>{' '}
This is achieved through a mechanism called forced trades,{' '}
<Link href="https://docs.starkware.co/starkex/perpetual/perpetual-trading-forced-withdrawal-and-forced-trade.html#forced_withdrawal">
<Link href="https://docs.starkware.co/starkex/perpetual/perpetual-trading-forced-withdrawal-and-forced-trade.html#forced_trade">
link to docs
</Link>
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function OfferAndForcedTradePage(props: OfferAndForcedTradePageProps) {
/>
</div>
<TransactionUserDetails
title="Offer creator details"
title="Creator details"
tradingMode="perpetual"
starkKey={props.maker.starkKey}
ethereumAddress={props.maker.ethereumAddress}
Expand Down
4 changes: 3 additions & 1 deletion packages/frontend/src/view/pages/user/UserAssetsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ function UserAssetsPage(props: UserAssetsPageProps) {
<ContentWrapper>
<TableWithPagination
{...common}
title={<UserPageTitle prefix="Assets of" starkKey={props.starkKey} />}
title={
<UserPageTitle prefix="Assets of user" starkKey={props.starkKey} />
}
visible={props.assets.length}
limit={props.limit}
offset={props.offset}
Expand Down