Skip to content

Commit

Permalink
fix(invest-box): correct CSS
Browse files Browse the repository at this point in the history
- [1] Apply correction for selection of payment method Fiat to not change the
CSS style for Crypto Button.

fix #1954
  • Loading branch information
migbash committed Feb 10, 2024
1 parent 7793e81 commit c181c8d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/lib/components/page/profile/investor/Main-InvestBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,14 @@
s-14
"
class:btn-active={selectDepositOption == 'crypto'}
on:click={() => {return selectDepositOption = 'crypto'}}
on:click=
{
() =>
{
selectDepositOption = 'crypto'
return;
}
}
>
{
profileTrs.investor?.invest_box.options.option_1
Expand Down Expand Up @@ -1352,7 +1359,6 @@
s-14
"
class:btn-active={selectDepositOption == 'fiat'}
on:click={() => {return selectDepositOption = 'fiat'}}
>
{
profileTrs.investor?.invest_box.options.option_2
Expand Down

0 comments on commit c181c8d

Please sign in to comment.