Skip to content

Add FFA spread move modifier support#445

Open
DaWoblefet wants to merge 2 commits intosmogon:masterfrom
DaWoblefet:ffa-support
Open

Add FFA spread move modifier support#445
DaWoblefet wants to merge 2 commits intosmogon:masterfrom
DaWoblefet:ffa-support

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
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.

2 participants