11172 fix welcome screen on small display
Contribution Summary
Linked Issue/Ticket: #11172
Description
The welcome screen looks awful on small screens, dropping off letters. We have a new welcome screen in the works, but it was reverted for the time being. To fix this bug, I combined some of the code from those changes and some to adjust the logo as well to simply make the text and logo display better on a smaller display. This largely does not change mid to large displays, though now that the text can resize to fit, some edge cases may exist where the text fit on one line before, and now is slightly smaller to allow for the same level of padding as the design initially required. You can see an example of this in the second set of screenshots below.
I recommend checking it out and testing it yourself if you're worried about how this adjustment could look on other displays.
Screen Shots
AI Disclosure
Select one of the following (mandatory)
- [X] This contribution does not include any changes created or assisted by AI.
- [ ] This contribution includes changes assisted by AI.
- [ ] This contribution includes changes created by AI.
Contribution Checklist
- [X] I have read and affirm that my contribution adheres to Mozilla’s Community Participation Guidelines
- [X] This contribution is in Kotlin where possible
- [X] This contribution does not use merge commits
- [X] This contribution adheres to the existing codestyle (run
gradlew spotlessCheckto check andgradlew spotlessApplyto format your source code; will be checked by CI). - [X] This contribution does not break existing unit tests (run
gradlew testDebugUnitTest; will be checked by CI). - [X] This contribution includes tests for any new functionality, and maintains tests for any updated functionality.
- [X] This contribution adheres to our Engineering process (RFC/Technical Design/ADR)
- [X] This PR has a descriptive title and body that accurately outlines all changes made, and contains a reference to any issues that it fixes (e.g. Closes #XXX or Fixes #XXX).