Skip to content

Commit

Permalink
Merge pull request #55 from Dilden/iss54
Browse files Browse the repository at this point in the history
Disable double-tap to zoom
  • Loading branch information
Dilden authored Sep 1, 2022
2 parents 91a7ee9 + a17cd0d commit 1868330
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
21 changes: 11 additions & 10 deletions src/components/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@
left: 0;
}
.toggler {
position: fixed;
right: 20px;
bottom: 20px;
z-index: 100;
background: #1ab8b8;
border-radius: 28px;
font-size: 2em;
padding: 5px 10px;
border: none;
box-shadow: 10px 0 15px black;
position: fixed;
right: 20px;
bottom: 20px;
z-index: 100;
background: #1ab8b8;
border-radius: 28px;
font-size: 2em;
padding: 5px 10px;
border: none;
box-shadow: 10px 0 15px black;
touch-action: manipulation;
}
</style>
1 change: 1 addition & 0 deletions src/components/counts/Counter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
margin: auto;
padding: 10px;
color: #000000;
touch-action: manipulation;
}
input[type='text'] {
-webkit-box-flex: 2 1 auto;
Expand Down
27 changes: 14 additions & 13 deletions src/components/nav/Menu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,20 @@
background-color: #03221b;
}
.menu {
position: fixed;
top: 20px;
right: 0px;
content: ' ';
padding: 15px 60px 15px 20px;
text-align: left;
text-shadow: 0 0 5px black;
color: var(--fore-color);
text-decoration: none;
transition: all 0.3s ease-in-out;
background-color: var(--back-color);
box-shadow: -10px 0px 10px 0px black;
z-index: 110;
position: fixed;
top: 20px;
right: 0px;
content: ' ';
padding: 15px 60px 15px 20px;
text-align: left;
text-shadow: 0 0 5px black;
color: var(--fore-color);
text-decoration: none;
transition: all 0.3s ease-in-out;
background-color: var(--back-color);
box-shadow: -10px 0px 10px 0px black;
z-index: 110;
touch-action: manipulation;
}
.menu.moved {
right: 250px;
Expand Down

0 comments on commit 1868330

Please sign in to comment.