anki/ts/change-notetype
Fabricio Duarte 73eec1d35a
Fix non-Latin text wrapping in deck options dropdown (#2334)
* Fix wrong import

* Fix text centering

* Update CONTRIBUTORS

* Add ellipsis prop to LabelButton; fix buttons

* Revert  6911fbfa6

* Create a prop to toggle ellipsis in LabelButton.svelte

Thanks to @hikaru-y: using "white-space: nowrap;" and "overflow: hidden;" together even when "text-overflow: ellipsis" is not needed can be problematic.

This fixes the text centering on deck options's SaveButton.

* Toggle ellipsis in NotetypeSelector.svelte's leftmost LabelButton

Without it, the button can expand indefinitely depending on the previous Note Type's name.

Co-Authored-By: Hikaru Y. <hkrysg@gmail.com>

Co-authored-by: Hikaru Y. <hkrysg@gmail.com>
2023-01-19 20:59:27 +10:00
..
Alert.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
change-notetype-base.scss Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
ChangeNotetypePage.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
icons.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
index.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
lib.test.ts Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
lib.ts Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
Mapper.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
MapperRow.svelte Improve Select component and add it back to Change Notetype screen (#2239) 2022-12-07 15:31:37 +10:00
NotetypeSelector.svelte Fix non-Latin text wrapping in deck options dropdown (#2334) 2023-01-19 20:59:27 +10:00
SaveButton.svelte Refactor Select component | Fix CSV import issue (#2227) 2022-12-01 19:24:26 +10:00
StickyHeader.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
tsconfig.json