Page 1 of 1
partnerStations Block Mobile Page Incorrect Scaling
Posted: Thu Oct 12, 2017 4:10 am
by jmcafee
partnerStations Block 3.0, MT 16.0
Android 7.0, Chrome 61.0.3, FF 56
The block scales correctly in the desktop page.
In a mobile page the block size is 100%. In the portrait view all text and most graphics are extremely small and unreadable without zoom. In the landscape view the text is larger and readable, but still much smaller than text in other blocks. All other blocks that I use in a mobile page scale correctly.
Re: partnerStations Block Mobile Page Incorrect Scaling
Posted: Thu Oct 12, 2017 8:57 am
by Jachym
The blocks are always set to scale to 100% of the column width, if a particular block does not scale well and is too small you need to put it in a wider column.
Re: partnerStations Block Mobile Page Incorrect Scaling
Posted: Sun Oct 22, 2017 12:23 am
by jmcafee
Jachym,
There is only a single column spanning the entire page width. So your suggestion to put it in a wider column is not possible. I even put it in the footer, with the same result of incorrect scaling.
Re: partnerStations Block Mobile Page Incorrect Scaling
Posted: Sun Oct 22, 2017 1:52 am
by jmcafee
The block scales correctly with the following modification of the code:
mainMobile.php: comment out line 339 "font-size: 1.5vw;"
Re: partnerStations Block Mobile Page Incorrect Scaling
Posted: Sun Oct 22, 2017 10:06 am
by Jachym
This is a relative statement.... the problem is that it works for you, but it would not work for other people. As mentioned in other threads, Ive experimented with this font size value many times and it always results in one person being happy and a different person with different browser and phone telling me I broke it... if the change you made works for you - great. But there is no point in making this change globally.
Re: partnerStations Block Mobile Page Incorrect Scaling
Posted: Mon Oct 23, 2017 4:24 am
by jmcafee
With all due respect, Jachym, please look at this and tell me if it is
readable in mobile browser (it is clearly different from other blocks):
http://jsmcafee.com/mtemplate/sunriver/indexMobile.php
Re: partnerStations Block Mobile Page Incorrect Scaling
Posted: Tue Oct 24, 2017 1:01 am
by John B
jmcafee,
Undoubtedly you are not aware (and I'm not blaming you for that) but Jáchym cannot do as you request as he doesn't have a mobile system - nor do I for that matter.
Over time he has stated many times that the the mobile pages are not tested fully. He has also advised that Meteotemplate is not designed for mobile (or other small-screen devices) but that the files are provided and are open to users of the program to adapt/amend them to suit their own purpose. The caveat to that, though, is that any changes to those pages will necessitate the user re-writing their modifications should they be adopted.
I hope that clarifies things a bit for you.
John