Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Default font size Fix #274 #1101

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chiguireitor
Copy link

Font-size on mobile is pretty bad, especially on FxOS 1.3 phones. This PR gives the ability to change between Normal, Medium, Large and X-Large fonts.

Also, changed the whole mobile app font reference to percentage, as font-size was mostly specified as px, and that's a no-no for responsive design.

Signed-off-by: John Villar <johnvillarzavatti@gmail.com>
…ading needs to meet a better "angular" approach to already-set-values, but i'm no angular guru.

Added correct es-es localization to font size selector.
Added google translate localization to font size selector to the following locales: de-de, it-it, nl-nl, pt-br, ru-ru. These need a better translation where possible.
Fixed hour padding to outbound messages when fonts are larger.

Signed-off-by: John Villar <johnvillarzavatti@gmail.com>
@chiguireitor chiguireitor mentioned this pull request Apr 2, 2016
Copy link
Collaborator

@stek29 stek29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also desktop partial is missing

@@ -89,6 +89,23 @@
<script type="text/javascript" src="js/directives.js"></script>
<script type="text/javascript" src="js/directives_mobile.js"></script>
<!-- endbuild -->

<script>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you adding script here? This is bad.

"country_select_modal_country_zw": "Zimbabwe"
"country_select_modal_country_zw": "Zimbabwe",

"list_fonts": {"n": "Normal", "m": "Medium", "l": "Large", "xl": "X-Large"}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix indentation

@last-partizan
Copy link

@chiguireitor hey, can you fix pull-request?

@chiguireitor
Copy link
Author

Hi, i've lost interest in pursuing this PR (FxOS died an untimely death and i replaced the phone with a big assed android which has native telegram with proper font support), if someone is interested on picking up the slack and adding it to mainline, that would be great, it's really not much to do to make it work with current code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
4 participants