Skip to content

Commit

Permalink
update pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
kaheetonaa committed Oct 18, 2024
1 parent bdaca4f commit 26085c7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/80_app.css
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ a.hide-toggle {

.sidebar {
position: fixed;
bottom: 10%;
top: 10%;
left: 10px;
width: 80%;
height: 50%;
Expand Down
2 changes: 1 addition & 1 deletion dist/iD.css
Original file line number Diff line number Diff line change
Expand Up @@ -4319,7 +4319,7 @@

.ideditor .sidebar {
position: fixed;
bottom: 10%;
top: 10%;
left: 10px;
width: 80%;
height: 50%;
Expand Down
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@

<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="pwa-capable" content="yes">
<link rel="shortcut icon" href="public/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="public/apple-touch-icon.png">
<link rel="android-chrome-192x192" type="image/png" sizes="192x192" href="public/android-chrome-192x192.png">
<link rel="android-chrome-512x512" type="image/png" sizes="512x512" href="public/android-chrome-512x512.png">
<link rel="favicon-16x16" type="image/png" sizes="16x16" href="public/favicon-16x16.png">
<link rel="favicon-32x32" type="image/png" sizes="16x16" href="public/favicon-32x32.png">
<link rel="manifest" href="manifest.webmanifest">
<title>iD</title>
<link rel='stylesheet' href='dist/iD.css'>
<link rel='icon' type='image/png' href='data:image/png;base64,iVBORw0KGgo='>
Expand Down Expand Up @@ -37,7 +46,14 @@
line-height: 2rem;
}

.virtual-key{
display: none;
}

@media screen and (orientation: portrait) {
.virtual-key{
display: block;
}
.circle-button {
width: 15%; /* Width of the button */
aspect-ratio:1/1; /* Height of the button */
Expand Down

0 comments on commit 26085c7

Please sign in to comment.