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

Fix piece stacking on points after orientation flip #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ProLoser
Copy link
Owner

@ProLoser ProLoser commented Nov 30, 2024

Related to #23

Update the CSS rules for stacking pieces on points to match the flipped orientation.

  • Modify the :nth-child(-n+12 of .point) selector to adjust the transform property for .piece:nth-child(n+6) and subsequent elements
  • Modify the :nth-child(n+13 of .point) selector to adjust the transform property for .piece:nth-child(n+6) and subsequent elements
  • Modify the :nth-child(-n+12 of .point) selector to adjust the transform property for .piece:nth-child(n+10) and subsequent elements
  • Modify the :nth-child(n+13 of .point) selector to adjust the transform property for .piece:nth-child(n+10) and subsequent elements

For more details, open the Copilot Workspace session.

Related to #23

Update the CSS rules for stacking pieces on points to match the flipped orientation.

* Modify the `:nth-child(-n+12 of .point)` selector to adjust the `transform` property for `.piece:nth-child(n+6)` and subsequent elements
* Modify the `:nth-child(n+13 of .point)` selector to adjust the `transform` property for `.piece:nth-child(n+6)` and subsequent elements
* Modify the `:nth-child(-n+12 of .point)` selector to adjust the `transform` property for `.piece:nth-child(n+10)` and subsequent elements
* Modify the `:nth-child(n+13 of .point)` selector to adjust the `transform` property for `.piece:nth-child(n+10)` and subsequent elements

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProLoser/PeaceInTheMiddleEast/issues/23?shareId=XXXX-XXXX-XXXX-XXXX).
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.

1 participant