nodepa / seedlingo

Modern mobile multi-language literacy
https://seedlingo.com/
MIT License
2 stars 3 forks source link

fix: Amend resize of answer option text #492

Closed toshify closed 1 month ago

toshify commented 1 month ago

When creating content in a language that uses a writing system with an alphabet script rather than a logography, answer options tend to consist of more symbols. This surfaces a need to handle scaling of both alpabetic scripts (which tend to form words that are significantly wider than tall, in particular in languages that use inflection or compounding) and logogrphic scrips (which can form words that are taller than wide, i.e. one character words). Since CSS does not allow us to simply define that a paragraph should fit the container it is placed in, i.e. scale up to fill the container if the text is one word or scale down to fit within the container if the text is very long, we need sensible parameters for font size to:

This commit will:

Certification

aws-amplify-ap-southeast-1[bot] commented 1 month ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-492.dheqk4e07yyd1.amplifyapp.com