From 8499d5e0686cf2dcbaf120f4069ab8cebead378c Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Sun, 2 Feb 2014 23:15:56 +0400 Subject: [PATCH] Decreased min Chrome App height --- app/css/app.css | 13 +++++++++++++ app/js/background.js | 4 ++-- app/manifest.webapp | 16 ++++++++-------- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/app/css/app.css b/app/css/app.css index 6e8f98e7..140f9e3f 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -1381,4 +1381,17 @@ img.img_fullsize { text-align: center; font-size: 1.4em; line-height: 160%; +} + + + +@media (max-width: 480px) { + .login_form_wrap { + border-radius: 0; + max-width: auto; + box-shadow: none; + -webkit-box-shadow: none; + margin: 30px auto 10px; + } + } \ No newline at end of file diff --git a/app/js/background.js b/app/js/background.js index 71f326cc..7a4e625d 100644 --- a/app/js/background.js +++ b/app/js/background.js @@ -11,8 +11,8 @@ chrome.app.runtime.onLaunched.addListener(function(launchData) { width: 1100, height: 700 }, - minWidth: 1100, - minHeight: 700, + minWidth: 1050, + minHeight: 400, frame: 'chrome' }); }); \ No newline at end of file diff --git a/app/manifest.webapp b/app/manifest.webapp index 95ef7f4c..3d2d3945 100644 --- a/app/manifest.webapp +++ b/app/manifest.webapp @@ -2,7 +2,7 @@ "name": "Webogram", "description": "Webogram – UNOFFICIAL Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram", "version": "0.0.12", - "launch_path": "/webogram/index.html", + "launch_path": "/index.html", "developer": { "name": "Igor Zhukov", "url": "https://github.com/zhukov" @@ -16,12 +16,12 @@ } }, "icons": { - "16": "/webogram/img/icons/icon16.png", - "32": "/webogram/img/icons/icon32.png", - "60": "/webogram/img/icons/icon60.png", - "64": "/webogram/img/icons/icon64.png", - "90": "/webogram/img/icons/icon90.png", - "120": "/webogram/img/icons/icon120.png", - "128": "/webogram/img/icons/icon128.png" + "16": "/img/icons/icon16.png", + "32": "/img/icons/icon32.png", + "60": "/img/icons/icon60.png", + "64": "/img/icons/icon64.png", + "90": "/img/icons/icon90.png", + "120": "/img/icons/icon120.png", + "128": "/img/icons/icon128.png" } } \ No newline at end of file