-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Default font size Fix #274 #1101
base: master
Are you sure you want to change the base?
Conversation
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>
There was a problem hiding this 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> |
There was a problem hiding this comment.
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"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix indentation
@chiguireitor hey, can you fix pull-request? |
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. |
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.