mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Normalize tap styles for webkit browsers
This commit is contained in:
@@ -34,6 +34,9 @@ const store = applyMiddleware(
|
||||
|
||||
userFactory(store)
|
||||
.then(() => {
|
||||
// allow :active styles in mobile Safary
|
||||
document.addEventListener("touchstart", () => {}, true);
|
||||
|
||||
ReactDOM.render(
|
||||
<ReduxProvider store={store}>
|
||||
<IntlProvider>
|
||||
|
@@ -40,3 +40,12 @@ p {
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
button,
|
||||
select,
|
||||
label,
|
||||
a {
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user