-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix overflow in the y direction on radio choice (#706)
## Summary: Fixes radio choice showing a scrollbar in the y direction when showing MathJax. <img width="1187" alt="image" src="https://github.com/Khan/perseus/assets/18454/305aad2d-dbc8-4731-a5b1-c541e01abcdd"> Issue: https://khanacademy.atlassian.net/browse/LC-1177 ## Test plan: - Visit http://localhost:8090/math/algebra2/x2ec2f6f830c9fb89:exp/x2ec2f6f830c9fb89:equivalent-exp/e/rewrite-exponential-expressions?devflagk=mathjax3 with an updated perseus - You should see math in the radio choices without overflow Additionally - Python content should continue to be scrollable in the x direction Author: nixterrimus Reviewers: nixterrimus, benchristel, nedredmond, Myranae Required Reviewers: Approved By: benchristel, nedredmond Checks: ✅ finish_coverage, ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Extract i18n strings (ubuntu-latest, 16.x), ✅ Check builds for changes in size (ubuntu-latest, 16.x), ✅ Check for .changeset file (ubuntu-latest, 16.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 16.x), ✅ Jest Coverage (ubuntu-latest, 16.x), ✅ Cypress Coverage (ubuntu-latest, 16.x), ✅ gerald Pull Request URL: #706
- Loading branch information
1 parent
9fdab7b
commit 8dc8690
Showing
5 changed files
with
47 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@khanacademy/perseus": minor | ||
--- | ||
|
||
Ensure that radio widget choices can scroll horizontally, but not vertically. | ||
Previously, unnecessary vertical scrollbars appeared on some choices containing | ||
MathJax elements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.