anki/ts/editable
Hikaru Y 604e0f46e1
Fix and refactor image size constraints (#2318)
* Remove 'ResizableImage.svelte'

Rather than having a svelte file that just sets global styles, it's
better to set those in a (s)css file.

* Fix and refactor image size constraints

- Fixes https://forums.ankiweb.net/t/2-1-56-image-size-problem-in-editor/26207
- Use :host-context() to switch image styles instead of toggling CSS
variables.

* Fix toolbar buttons for image overlay sometimes being cut off
2023-01-13 23:18:25 +10:00
..
content-editable.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
ContentEditable.svelte Fix inverted Ctrl+right/left handling in RTL fields (again) (#2191) 2022-11-15 11:14:18 +10:00
decorated.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
editable-base.scss Fix and refactor image size constraints (#2318) 2023-01-13 23:18:25 +10:00
frame-element.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
frame-handle.ts Fix spaces not handled properly when entering text around MathJax (#2307) 2023-01-10 08:51:09 +10:00
icons.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
index.ts Fix and refactor image size constraints (#2318) 2023-01-13 23:18:25 +10:00
mathjax-element.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
Mathjax.svelte Exempt MathJax images from image shrinking 2022-12-04 20:03:27 +10:00
mathjax.ts Switch editor to full MathJax package to fix broken autoloads 2022-05-21 14:01:38 +10:00
tsconfig.json Use same config for editor and reviewer Mathjax (#1865) 2022-05-13 13:23:35 +10:00