forked from verdnatura/hedera-web
Las imagenes grandes ahora se ven mejor en dispositivos moviles
This commit is contained in:
parent
dc88f8c7a5
commit
d52a8a090d
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.2-1) stable; urgency=low
|
hedera-web (1.201-1) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -76,8 +76,8 @@ Htk.FullImage = new Class
|
||||||
var scale = 1.0;
|
var scale = 1.0;
|
||||||
var width = img.width;
|
var width = img.width;
|
||||||
var height = img.height;
|
var height = img.height;
|
||||||
var innerWidth = Vn.Browser.getInnerWidth () - 350;
|
var innerWidth = Vn.Browser.getInnerWidth () - 50;
|
||||||
var innerHeight = Vn.Browser.getInnerHeight () - 120;
|
var innerHeight = Vn.Browser.getInnerHeight () - 50;
|
||||||
|
|
||||||
if (width > innerWidth)
|
if (width > innerWidth)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue