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 CSS on downloaded replays #2165

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Karthik99999
Copy link
Contributor

I did not notice the Times New Roman font in the tooltips on my other PR.

@Zarel
Copy link
Member

Zarel commented Nov 4, 2023

@Zarel
Copy link
Member

Zarel commented Nov 4, 2023

I tested and it does seem to be sufficient.

Zarel added a commit that referenced this pull request Nov 4, 2023
PR #2162 removed the CSS on downloaded replays without any
explanation. I think it was intended to save space and/or make
things bigger? But it came with a number of bugs.

- downloaded replay logs are much wider than intended
- downloaded replays now have a "battle options" button that does
  nothing
- downloaded replays have some unstyled text in e.g. popups
- MOST IMPORTANTLY: downloaded replays are no longer styled when
  you don't have an internet connection

Anyway, reverting that change fixes all these issues, and doesn't
seem to cause any new ones? This is a temporary measure while
waiting for Karthik to explain why the CSS removal was done in
the first place.

Refs #2165
@Zarel Zarel marked this pull request as draft November 4, 2023 23:25
@Zarel
Copy link
Member

Zarel commented Nov 4, 2023

Okay, I pushed e3b82f2 which fixes the specific bug described in your PR OP.

I'm still confused why you removed all the CSS from downloaded replays, so I'm leaving this PR open until you tell me why you made the change and whether any changes still need to be made.

@Karthik99999
Copy link
Contributor Author

Okay, I pushed e3b82f2 which fixes the specific bug described in your PR OP.

I'm still confused why you removed all the CSS from downloaded replays, so I'm leaving this PR open until you tell me why you made the change and whether any changes still need to be made.

I just noticed some discrepancies (mainly font size) from the downloaded and online replays, and after I removed all the css I was like "hey it still works" so I just left it like that. I can see why you had it there though, so yeah this pr isn't needed anymore

MathyFurret pushed a commit to MathyFurret/pokemon-showdown-client that referenced this pull request Mar 25, 2024
PR smogon#2162 removed the CSS on downloaded replays without any
explanation. I think it was intended to save space and/or make
things bigger? But it came with a number of bugs.

- downloaded replay logs are much wider than intended
- downloaded replays now have a "battle options" button that does
  nothing
- downloaded replays have some unstyled text in e.g. popups
- MOST IMPORTANTLY: downloaded replays are no longer styled when
  you don't have an internet connection

Anyway, reverting that change fixes all these issues, and doesn't
seem to cause any new ones? This is a temporary measure while
waiting for Karthik to explain why the CSS removal was done in
the first place.

Refs smogon#2165
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