Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
Disable double-tap zoom (minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Cuadra committed Sep 3, 2018
1 parent c1d1d56 commit 0d2eeb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plan/Plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Plan extends React.Component {
const showMacros = isMobile ? activeTab === 0 : true;
const showFood = isMobile ? activeTab === 1 : true;
return (
<div>
<div className="plan">
{isWorkoutDay && (
<div className="banner text-center">
<Typography use="subtitle1" theme="onSecondary">
Expand Down Expand Up @@ -160,6 +160,9 @@ class Plan extends React.Component {
)}
</Grid>
<style jsx>{`
.plan {
touch-action: manipulation;
}
.banner {
background-color: var(--mdc-theme-secondary);
}
Expand Down

0 comments on commit 0d2eeb2

Please sign in to comment.