Commit Graph

3 Commits

Author SHA1 Message Date
Sinclair Chen
62c18a7344 Reset prob strike-out when bet modal closed 2022-08-23 14:23:58 -07:00
Sinclair Chen
2f2edc8b44 Fix button group styles
before, the rounded-3xl could override rounded-none
2022-08-23 14:23:09 -07:00
Sinclair Chen
4f3202f90b
Simple bet interface in embeds (#775)
* rename BetRow -> BetButton

* Replace bet modal in embed with inline betting

- Also simplifies graph height calculation

* Move bet row above graph, in "mini modal"

* Show signup button if not signed up

* Show probability change

* Show error after modal

- Show balance if insufficient funds
- Clear error from amount input if amount deleted entirely

* Fix error state conditions

- Reset amount input on success
- Reset success state on user input

* Make input smaller (80px)
2022-08-19 10:07:48 -07:00