Skip to content

Commit

Permalink
fix: avoid 300ms click delay on touch devices
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Nov 23, 2020
1 parent 2d67db5 commit 621ca3e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/client/theme-default/styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ ul {
line-height: 1.7;
}

a,
area,
button,
[role="button"],
input,
label,
select,
summary,
textarea {
touch-action: manipulation;
}

a {
text-decoration: none;
color: var(--c-brand);
Expand Down

0 comments on commit 621ca3e

Please sign in to comment.