mirror of
https://github.com/ankitects/anki.git
synced 2026-09-10 06:20:47 -04:00
## Linked issue (required) Fixes ankitects/anki#5173 ## Summary / motivation (required) This PR removed a hard coded font size value. That way the font size changes dynamically, which is also important for A11Y. The issue had been initally introduced in [https://github.com/ankitects/anki/pull/5057](<https://github.com/ankitects/anki/pull/5057>). @Luc-Mcgrady and @focushover, pinging you FYI. ## Steps to reproduce (required, use N/A if not applicable) 1. Open preferences. 2. Go to experiments tab. 3. See that font size is different from other tabs. ## How to test (required) Tested with `./run --safemode`, then visual check. ### Checklist (minimum) - [X] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ### Details It has also been successfully tested against changes in "user interface size" preference in Anki. ## Before / after behavior (optional) Before: inconsistent font size <br>After: consistent font size ## Risk / compatibility / migration (optional) None. ## UI evidence (required for visual changes; otherwise N/A) With this PR: <img src="https://github.com/user-attachments/assets/cad67197-0793-4392-8b7e-a9d1f580c29b " alt="A" width="951" data-linear-height="905" /> <img src="https://github.com/user-attachments/assets/55144931-3b70-45c6-8616-2d0966dbe397 " alt="B" width="951" data-linear-height="905" /> ## Scope - [X] This PR is focused on one change (no unrelated edits). --------- Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.
To update all dependencies:
./update.sh
To add a new dev dependency, use something like:
./add.sh -D @rollup/plugin-alias