Skip to content

Commit

Permalink
2 Bug fixes + Useless code/file removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuvssut committed Jun 2, 2021
1 parent d209e08 commit 6a26702
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 44 deletions.
32 changes: 0 additions & 32 deletions netlify.toml

This file was deleted.

1 change: 0 additions & 1 deletion public/_redirects

This file was deleted.

5 changes: 1 addition & 4 deletions src/components/Header/header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
transform: translateX(89px);
color: colors.$light-blue;
border-radius: 5px 0 0 5px;

text-decoration: none;
&:hover {
color: aquamarine;
text-decoration: none;
Expand All @@ -124,8 +124,6 @@

.HeaderOpen {
gap: 0px;
// transform: translateX(-100%);
// transition: all 0.1s cubic-bezier(0.9, 0, 0.33, 1);
}

.Header {
Expand All @@ -137,7 +135,6 @@
transition: all 0.5s ease;
z-index: 1002;
height: 100vh;
// padding-right: 20px;
overflow: hidden;
transform: translateY(0);
transition: all 0.1s cubic-bezier(0.9, 0, 0.33, 1);
Expand Down
4 changes: 0 additions & 4 deletions src/pages/Editor/containers/editContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ const EditContextProvider = props => {

setShow(true);
setShowing(true);
// setTimeout(() => {
// setShow(false);
// setShowing(false);
// }, 2000);
};

const downloadPdf = async (imgDataUris, name) => {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Editor/sections/OutputComponent/Output.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const OutputComponent = ({ pageNo, show }) => {
className={`${classes.wrapper} col-11 col-lg-8 mx-auto mt-4 p-2`}
style={{ display: show || allPagesVisible ? "block" : "none" }}
>
<div id="outputPage" className={"outputPage col-12 mx-auto px-0"}>
<div id="outputPage" className={classes.outputBox +" outputPage col-12 mx-auto px-0"}>
<div className={`${classes.imgContainer} col-12 mx-auto px-0`}>
<img
src={page.default}
Expand Down
3 changes: 3 additions & 0 deletions src/pages/Editor/sections/OutputComponent/output.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

.wrapper {
border: 3px solid colors.$royal-blue;
.outputBox{
position: relative;
}
.imgContainer {
position: relative;
img {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function FluidCard(props) {
const [context, setContext] = useState(null);

const fluidEffect = useCallback(() => {
// Vars
let pointsA = [],
points = 8,
viscosity = 300,
Expand Down
1 change: 0 additions & 1 deletion src/pages/Sketch/components/Canvas.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ function Canvas() {
setIsDrawing(false);
event.preventDefault();
setTypeState(null);
// console.log(context.getImageData(0, 0, canvasWidth, canvasHeight));
}

function handleMouseLeave() {
Expand Down

0 comments on commit 6a26702

Please sign in to comment.