update portrait layout calculator-react

This commit is contained in:
Trent Palmer 2020-06-14 21:07:32 -07:00
parent 3c69f04e28
commit 0141162d14
8 changed files with 14 additions and 13 deletions

View File

@ -1,14 +1,14 @@
{ {
"files": { "files": {
"main.css": "/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css", "main.css": "/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css",
"main.js": "/fcc-challenges/calculator-react/build/static/js/main.bfd616ae.chunk.js", "main.js": "/fcc-challenges/calculator-react/build/static/js/main.78f555dc.chunk.js",
"main.js.map": "/fcc-challenges/calculator-react/build/static/js/main.bfd616ae.chunk.js.map", "main.js.map": "/fcc-challenges/calculator-react/build/static/js/main.78f555dc.chunk.js.map",
"runtime-main.js": "/fcc-challenges/calculator-react/build/static/js/runtime-main.bf967002.js", "runtime-main.js": "/fcc-challenges/calculator-react/build/static/js/runtime-main.bf967002.js",
"runtime-main.js.map": "/fcc-challenges/calculator-react/build/static/js/runtime-main.bf967002.js.map", "runtime-main.js.map": "/fcc-challenges/calculator-react/build/static/js/runtime-main.bf967002.js.map",
"static/js/2.07dbc1f4.chunk.js": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js", "static/js/2.07dbc1f4.chunk.js": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js",
"static/js/2.07dbc1f4.chunk.js.map": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js.map", "static/js/2.07dbc1f4.chunk.js.map": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js.map",
"index.html": "/fcc-challenges/calculator-react/build/index.html", "index.html": "/fcc-challenges/calculator-react/build/index.html",
"precache-manifest.25ea6938318dfa689cefd0b87f019a55.js": "/fcc-challenges/calculator-react/build/precache-manifest.25ea6938318dfa689cefd0b87f019a55.js", "precache-manifest.15081527d8e72b36055d35a84948c07f.js": "/fcc-challenges/calculator-react/build/precache-manifest.15081527d8e72b36055d35a84948c07f.js",
"service-worker.js": "/fcc-challenges/calculator-react/build/service-worker.js", "service-worker.js": "/fcc-challenges/calculator-react/build/service-worker.js",
"static/css/main.1b8ac635.chunk.css.map": "/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css.map", "static/css/main.1b8ac635.chunk.css.map": "/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css.map",
"static/js/2.07dbc1f4.chunk.js.LICENSE.txt": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js.LICENSE.txt" "static/js/2.07dbc1f4.chunk.js.LICENSE.txt": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js.LICENSE.txt"
@ -17,6 +17,6 @@
"static/js/runtime-main.bf967002.js", "static/js/runtime-main.bf967002.js",
"static/js/2.07dbc1f4.chunk.js", "static/js/2.07dbc1f4.chunk.js",
"static/css/main.1b8ac635.chunk.css", "static/css/main.1b8ac635.chunk.css",
"static/js/main.bfd616ae.chunk.js" "static/js/main.78f555dc.chunk.js"
] ]
} }

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="#"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/fcc-challenges/calculator-react/build/logo192.png"/><link rel="manifest" href="/fcc-challenges/calculator-react/build/manifest.json"/><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Baloo+Bhai"/><title>Calculator React - Build a Calculator - Front End Libraries Projects</title><link href="/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div><script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script></div></div><script>!function(e){function r(r){for(var n,l,a=r[0],c=r[1],f=r[2],p=0,s=[];p<a.length;p++)l=a[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(i&&i(r);s.length;)s.shift()();return u.push.apply(u,f||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/fcc-challenges/calculator-react/build/";var a=this["webpackJsonpcalculator-react"]=this["webpackJsonpcalculator-react"]||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var f=0;f<a.length;f++)r(a[f]);var i=c;t()}([])</script><script src="/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js"></script><script src="/fcc-challenges/calculator-react/build/static/js/main.bfd616ae.chunk.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="#"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/fcc-challenges/calculator-react/build/logo192.png"/><link rel="manifest" href="/fcc-challenges/calculator-react/build/manifest.json"/><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Baloo+Bhai"/><title>Calculator React - Build a Calculator - Front End Libraries Projects</title><link href="/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div><script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script></div></div><script>!function(e){function r(r){for(var n,l,a=r[0],c=r[1],f=r[2],p=0,s=[];p<a.length;p++)l=a[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(i&&i(r);s.length;)s.shift()();return u.push.apply(u,f||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/fcc-challenges/calculator-react/build/";var a=this["webpackJsonpcalculator-react"]=this["webpackJsonpcalculator-react"]||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var f=0;f<a.length;f++)r(a[f]);var i=c;t()}([])</script><script src="/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js"></script><script src="/fcc-challenges/calculator-react/build/static/js/main.78f555dc.chunk.js"></script></body></html>

View File

@ -1,10 +1,10 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([ self.__precacheManifest = (self.__precacheManifest || []).concat([
{ {
"revision": "60a2129b30b27571f044270be4d55f27", "revision": "bf28c05700c228dd6c17f7d3554f32be",
"url": "/fcc-challenges/calculator-react/build/index.html" "url": "/fcc-challenges/calculator-react/build/index.html"
}, },
{ {
"revision": "2ad96291c59025fc4b09", "revision": "9081a437021193343ab2",
"url": "/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css" "url": "/fcc-challenges/calculator-react/build/static/css/main.1b8ac635.chunk.css"
}, },
{ {
@ -16,8 +16,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js.LICENSE.txt" "url": "/fcc-challenges/calculator-react/build/static/js/2.07dbc1f4.chunk.js.LICENSE.txt"
}, },
{ {
"revision": "2ad96291c59025fc4b09", "revision": "9081a437021193343ab2",
"url": "/fcc-challenges/calculator-react/build/static/js/main.bfd616ae.chunk.js" "url": "/fcc-challenges/calculator-react/build/static/js/main.78f555dc.chunk.js"
}, },
{ {
"revision": "11fa019406a5ca9e472e", "revision": "11fa019406a5ca9e472e",

View File

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts( importScripts(
"/fcc-challenges/calculator-react/build/precache-manifest.25ea6938318dfa689cefd0b87f019a55.js" "/fcc-challenges/calculator-react/build/precache-manifest.15081527d8e72b36055d35a84948c07f.js"
); );
self.addEventListener('message', (event) => { self.addEventListener('message', (event) => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -86,6 +86,7 @@ class Calculator extends React.Component {
style['marginRight'] = '89px'; style['marginRight'] = '89px';
} else if (height > width) { } else if (height > width) {
style['height'] = '75vh'; style['height'] = '75vh';
style['minHeight'] = 481;
style['width'] = '100vw'; style['width'] = '100vw';
style['marginTop'] = '12vh'; style['marginTop'] = '12vh';
style['marginBottom'] = 'unset'; style['marginBottom'] = 'unset';