Description
The ZMonolingualString component has a chip component inside that reflects the language of the string.
To insert this, we need to create space for it by giving some padding to the text. However this padding cannot be fixed (2 or 3 characters) because we have language iso codes such as "de-formal" for "German (formal address)".
Steps to reproduce:
- Go to https://wikifunctions.beta.wmflabs.org/wiki/Z10112?view=default-view&action=edit
- Observe the label
Observed behavior:
- ...
Expected behavior (Acceptance criteria):
- The language iso code can be seen completely
- The text starts immediately after
- The field inherits the aspect and properties of any other text field, including the fitWidth feature
Devices and Design (URLs or screenshots, if applicable):
- Desktop: ...
- Small screens/mobile: ...
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist