Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

fix: coin input value being cut by bottom line balance #286

Merged
merged 8 commits into from Jun 14, 2022

Conversation

LuizAsFight
Copy link
Contributor

@LuizAsFight LuizAsFight commented Jun 14, 2022

packages/app/src/systems/Core/components/CoinBalance.tsx Outdated Show resolved Hide resolved
);

return (
<div className="flex items-center justify-end gap-2 mt-2 whitespace-nowrap">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you created a coin-balance.css you can move all these tailwind helper classes for a unique class using coinBalance in the root div component and maybe creating a coinBalance--balance class also

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to remove coin-balance.css and keep everything inline, no needs to have separate file to hold 1 class. will do that

.gitignore Outdated
@@ -41,7 +41,8 @@ node_modules

# testing
coverage
cypress
cypress/videos
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cypress should cover both videos and screenshots

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes but only cypress it's ignoring other cypress stuffs, like the e2e tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use path specfic /cypress

luizstacio
luizstacio previously approved these changes Jun 14, 2022
@LuizAsFight LuizAsFight merged commit 8522c82 into master Jun 14, 2022
@LuizAsFight LuizAsFight deleted the lf-236/fix/coininput-balance branch June 14, 2022 20:48
pedronauck added a commit that referenced this pull request Jun 17, 2022
* 'master' of github.com:FuelLabs/swayswap:
  feat: move check branch to commit step (#292)
  feat: add agreement and update copy (#290)
  fix: correct behavior when typing only "." in the coin input (#291)
  fix: coin input value being cut by bottom line balance (#286)
@LuizAsFight LuizAsFight self-assigned this Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coin input is getting cut when balance and typed value are too big
3 participants