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

Add FFA spread move modifier support #445

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DaWoblefet
Copy link
Member

In order to not have doubles look rounded off in past gens, I added two labels for it, one that only displays in Gen 8 (with the btn-middle class) and one that only displays in Gens 3-7 (with the btn-right class). I am pretty sure this is not a super good way to do it (you see the extra label on page load). The proper way sounds to me like making the group of buttons into a flexbox and just applying the styling on first and last childs, but that would be a decent amount of CSS refactoring.

Screenshots:
image

image

image

@DaWoblefet
Copy link
Member Author

OK I played around with this for about an hour and refactoring this to not use 2 labels would require some serious refactors to keep the styling consistent as before (because we are just styling away elements with certain classes rather than removing them from the DOM).

@DaWoblefet DaWoblefet requested a review from KrisXV May 7, 2021 04:55
calc/src/data/interface.ts Outdated Show resolved Hide resolved
src/index.template.html Outdated Show resolved Hide resolved
src/randoms.template.html Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants