From 2040110103e8081955257c5c4e8d03486af737c5 Mon Sep 17 00:00:00 2001 From: "adrian.ganga" Date: Thu, 26 May 2022 15:35:53 +0300 Subject: [PATCH] #729 Create a lightweight PWA - 1st POC - css fixes for devices --- apihub-root/lightweight-pwa/css/main.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/apihub-root/lightweight-pwa/css/main.css b/apihub-root/lightweight-pwa/css/main.css index 7316177..724a05d 100644 --- a/apihub-root/lightweight-pwa/css/main.css +++ b/apihub-root/lightweight-pwa/css/main.css @@ -62,6 +62,7 @@ .scan-button-container { height: 6%; + margin: 70% auto 0 auto; } .content-container { @@ -177,6 +178,7 @@ .scan-button-container { font-size: 2.5rem; height: 7%; + margin: 30% auto 0 auto; } .content-container { @@ -196,13 +198,13 @@ } #scanner-placeholder canvas#scene { - width: 100%; - height: 100%; + width: 200%; + height: 200%; } #scanner-placeholder canvas#overlay { - width: 240%; - height: 100%; + width: 200%; + height: 200%; top: -10%; left: 0%; transform: translate(-30%, 10%); @@ -400,10 +402,7 @@ body { width: 60%; background: var(--mintgreen); border-radius: 80px; - bottom: 0; position: relative; - top: 29%; - margin: 0 auto; font-width: 700; }