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

Honkalculate no longer covers tiers #620

Merged
merged 2 commits into from
May 11, 2024

Conversation

shrianshChari
Copy link
Contributor

https://www.smogon.com/forums/threads/pok%C3%A9mon-showdown-damage-calculator.3593546/post-10085323

The Honkalculate table no longer uses position: absolute to position itself on the page, so it (shouldn't) cover the list of tiers that you are pulling sets from.

As an aside (outside the scope of this PR), the Honkalculator is kinda jank and I also dislike how the UI looks and behaves.

@@ -886,7 +887,7 @@
</fieldset>
</div>
<div>
<fieldset class="panel holder-0">
<fieldset class="panel" id="holder-0">
Copy link
Collaborator

Choose a reason for hiding this comment

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

holder-0 doesn't exist anymore though. You said you switched it into an ID but it seems like you just removed it.

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 change the code in honkalculate_controls.js to accomodate the fact that it is an ID instead of a class.

I did delete the CSS code that was associated with holder-0 since I had commented out all of that CSS code and it wasn't necessary anymore.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see. Thanks for explaining.

@thejetou thejetou merged commit 4c0004a into smogon:master May 11, 2024
2 checks passed
@thejetou
Copy link
Collaborator

Thanks!

@shrianshChari shrianshChari deleted the honkalculate-covers-tiers branch May 11, 2024 18:43
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