anki/ts/editor/image-overlay
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
..
FloatButtons.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
icons.ts Change how resizable images work (#1859) 2022-05-13 12:57:07 +10:00
ImageOverlay.svelte Fix and refactor image size constraints (#2318) 2023-01-13 23:18:25 +10:00
index.ts Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
SizeSelect.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00