Browse Source

style: disable tap highlights and optimize touch interactions for interactive elements

master
mortezaei 6 days ago
parent
commit
61f6981f9c
  1. 28
      src/app/globals.css

28
src/app/globals.css

@ -149,6 +149,34 @@ html {
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
overscroll-behavior: none; overscroll-behavior: none;
-webkit-tap-highlight-color: transparent;
}
* {
-webkit-tap-highlight-color: transparent;
}
button,
input,
select,
textarea,
a,
label,
[role="button"] {
touch-action: manipulation;
}
button,
[role="button"] {
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}
input,
textarea {
-webkit-user-select: text;
user-select: text;
} }
body { body {

Loading…
Cancel
Save