Skip to content

Commit

Permalink
scalee width change
Browse files Browse the repository at this point in the history
  • Loading branch information
keremciu committed Mar 31, 2020
1 parent c887def commit 7ed7793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Calculator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Calculator extends Component {
);
const isDesktop = vw > 640;
const width = isDesktop ? 1280 : 750;
const scale = 1280 / wrapper.offsetWidth;
const scale = width / wrapper.offsetWidth;
const remove1 = document.querySelector(".remove1");
const remove2 = document.querySelector(".remove2");
remove1.classList.add("hidden");
Expand Down

0 comments on commit 7ed7793

Please sign in to comment.