diff --git a/client/assets/styles/styles.less b/client/assets/styles/styles.less index 589fc2d8..6f47fe2d 100644 --- a/client/assets/styles/styles.less +++ b/client/assets/styles/styles.less @@ -23,7 +23,7 @@ html body { /* stops inspector going skitz*/ overflow-x: hidden; - // overflow-y: hidden; + overflow-y: hidden; } @media (min-width: 1921px) { diff --git a/client/assets/styles/styles.mobile.css b/client/assets/styles/styles.mobile.css index 8cc73e6f..137e57b8 100644 --- a/client/assets/styles/styles.mobile.css +++ b/client/assets/styles/styles.mobile.css @@ -11,6 +11,7 @@ height: 100vh; max-height: initial; min-height: initial; + overflow-y: initial; } #mnml button { diff --git a/client/index.html b/client/index.html index 4ea0190e..57f8602d 100644 --- a/client/index.html +++ b/client/index.html @@ -1,13 +1,15 @@ - mnml - abstract strategy - - + + + + + mnml - abstract strategy diff --git a/client/package.json b/client/package.json index 4fd0e2f6..a97bc66a 100644 --- a/client/package.json +++ b/client/package.json @@ -24,6 +24,7 @@ "keymaster": "^1.6.2", "linkstate": "^1.1.1", "lodash": "^4.17.15", + "logrocket": "^1.0.3", "node-sass": "^4.12.0", "parcel": "^1.12.3", "preact": "^8.4.2", diff --git a/client/src/app.jsx b/client/src/app.jsx index ab17520c..c4cfb902 100644 --- a/client/src/app.jsx +++ b/client/src/app.jsx @@ -1,6 +1,8 @@ const preact = require('preact'); // const logger = require('redux-diff-logger'); +const LogRocket = require('logrocket'); + const { Provider, connect } = require('preact-redux'); const { createStore, combineReducers } = require('redux'); const { StripeProvider } = require('react-stripe-elements'); @@ -13,6 +15,10 @@ const registerEvents = require('./events'); const Mnml = require('./components/mnml'); +if (process.env.NODE_ENV === 'PRODUCTION') { + LogRocket.init('yh0dy3/mnml'); +} + function stripeKey() { if (window.location.host === 'mnml.gg') return 'pk_live_fQGrL1uWww2ot8W1G7vTySAv004ygmnMXq'; return 'pk_test_Cb49tTqTXpzk7nEmlGzRrNJg00AU0aNZDj';