partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5de52bf44cd74e2dc36c7a4bf0f272044f6129cf
parent 4951292ba9844b66a11a4de92c7033c2374b8e95
Author: Felicia Hummel <felicia@drachenkatze.org>
Date:   Sun,  8 Jul 2018 01:58:40 +0200

Use fullscreen for phones

Diffstat:
Msrc/PartKeepr/MobileFrontendBundle/Resources/public/js/Components/Part/Details/Panel.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PartKeepr/MobileFrontendBundle/Resources/public/js/Components/Part/Details/Panel.js b/src/PartKeepr/MobileFrontendBundle/Resources/public/js/Components/Part/Details/Panel.js @@ -6,8 +6,8 @@ Ext.define("PartKeepr.Components.Part.Details.Panel", { controller: 'PartDetailsController', shadow: true, - width: "90%", - height: "90%", + width: Ext.os.is.Phone ? "100%" : "90%", + height: Ext.os.is.Phone ? "100%" : "90%", centered: true, modal: true, closable: true,