Normalize tap styles for webkit browsers

This commit is contained in:
SleepWalker 2016-06-02 21:47:50 +03:00
parent 16d3b8a928
commit 1d85a8cfa7
2 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,9 @@ const store = applyMiddleware(
userFactory(store) userFactory(store)
.then(() => { .then(() => {
// allow :active styles in mobile Safary
document.addEventListener("touchstart", () => {}, true);
ReactDOM.render( ReactDOM.render(
<ReduxProvider store={store}> <ReduxProvider store={store}>
<IntlProvider> <IntlProvider>

View File

@ -40,3 +40,12 @@ p {
margin: 0; margin: 0;
list-style: none; list-style: none;
} }
input,
textarea,
button,
select,
label,
a {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}