From 106d72c4a2cc65e66d68e933a3c3626074190157 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Tue, 5 Nov 2019 18:51:01 +0100 Subject: [PATCH] reverted 5ddc2d7080ec96e24326c5c144bd87ebe9acd8d3 --- pwnagotchi/ui/web/static/css/style.css | 8 ++------ pwnagotchi/ui/web/templates/index.html | 2 +- pwnagotchi/ui/web/templates/status.html | 20 ++++++++++---------- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/pwnagotchi/ui/web/static/css/style.css b/pwnagotchi/ui/web/static/css/style.css index 94f66793..060a984e 100644 --- a/pwnagotchi/ui/web/static/css/style.css +++ b/pwnagotchi/ui/web/static/css/style.css @@ -9,18 +9,14 @@ } img#ui { - width: 100vw; - height:100%; - max-width:100vw; - object-fit: contain; + width:100%; } .full { position: absolute; top:0; left:0; - height: 100vh; - width: 100vw; + width:100%; } .pixelated { diff --git a/pwnagotchi/ui/web/templates/index.html b/pwnagotchi/ui/web/templates/index.html index 7aaac133..50ec1e25 100644 --- a/pwnagotchi/ui/web/templates/index.html +++ b/pwnagotchi/ui/web/templates/index.html @@ -1,7 +1,7 @@ {{ title }} - +
diff --git a/pwnagotchi/ui/web/templates/status.html b/pwnagotchi/ui/web/templates/status.html index 57c9f23f..ddeb8664 100644 --- a/pwnagotchi/ui/web/templates/status.html +++ b/pwnagotchi/ui/web/templates/status.html @@ -1,12 +1,12 @@ - - {{ title }} - - - - -
- {{ message }} -
- + + {{ title }} + + + + +
+ {{ message }} +
+ \ No newline at end of file