fix: fixed issue with webui in landcape (fixes #523)
This commit is contained in:
parent
52f1111a5b
commit
5ddc2d7080
pwnagotchi/ui/web
@ -9,14 +9,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
img#ui {
|
img#ui {
|
||||||
width:100%;
|
width: 100vw;
|
||||||
|
height:100%;
|
||||||
|
max-width:100vw;
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.full {
|
.full {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:0;
|
top:0;
|
||||||
left:0;
|
left:0;
|
||||||
width:100%;
|
height: 100vh;
|
||||||
|
width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pixelated {
|
.pixelated {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/css/style.css"/>
|
<link rel="stylesheet" type="text/css" href="/css/style.css?v=1.1"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="full pixelated">
|
<div class="full pixelated">
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
<meta http-equiv="refresh" content="{{ go_back_after }};URL=/">
|
<meta http-equiv="refresh" content="{{ go_back_after }};URL=/">
|
||||||
<link rel="stylesheet" type="text/css" href="/css/style.css"/>
|
<link rel="stylesheet" type="text/css" href="/css/style.css?v=1.1"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
{{ message }}
|
{{ message }}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user