Skip to content

Commit

Permalink
ui: change alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Jul 26, 2022
1 parent fcc961d commit 545f9ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/src/views/BalancePage/BalancePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default defineComponent({
<PageCard
heading={<div class="flex items-center">Balances</div>}
headerAction={
<div class="flex items-center gap-2">
<div class="flex-end flex items-center gap-2">
<Tooltip
content={
<>
Expand Down
20 changes: 10 additions & 10 deletions app/src/views/PoolPage/PoolPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,7 @@ export default defineComponent({
iconName="navigation/pool"
withOverflowSpace
headerAction={
<div class="flex flex-col gap-2">
<Button.Inline
to={{ name: "AddLiquidity", params: {} }}
active
replace
class={["text-md !h-[40px] px-[17px]"]}
icon="interactive/plus"
>
<div class="font-semibold">Add Liquidity</div>
</Button.Inline>
<div class="flex-end flex items-center gap-2">
<Toggle
class="flex-row-reverse"
label={`Show pools less than ${SMALL_POOL_CAP.toLocaleString(
Expand All @@ -162,6 +153,15 @@ export default defineComponent({
this.showSmallPools = active;
}}
/>
<Button.Inline
to={{ name: "AddLiquidity", params: {} }}
active
replace
class={["text-md !h-[40px] px-[17px]"]}
icon="interactive/plus"
>
<div class="font-semibold">Add Liquidity</div>
</Button.Inline>
</div>
}
headerContent={
Expand Down

0 comments on commit 545f9ac

Please sign in to comment.