diff --git a/pwnagotchi/ui/web/static/css/style.css b/pwnagotchi/ui/web/static/css/style.css index 060a984e..94f66793 100644 --- a/pwnagotchi/ui/web/static/css/style.css +++ b/pwnagotchi/ui/web/static/css/style.css @@ -9,14 +9,18 @@ } img#ui { - width:100%; + width: 100vw; + height:100%; + max-width:100vw; + object-fit: contain; } .full { position: absolute; top:0; left:0; - width:100%; + height: 100vh; + width: 100vw; } .pixelated { diff --git a/pwnagotchi/ui/web/templates/index.html b/pwnagotchi/ui/web/templates/index.html index 50ec1e25..7aaac133 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 ddeb8664..57c9f23f 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