We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d691b3f commit 4dadfcfCopy full SHA for 4dadfcf
client/src/App.css
@@ -1,11 +1,7 @@
1
2
#root {
3
- max-width: 1280px;
4
- margin: 0 auto;
5
- padding: 2rem;
6
- height: 70vh;
7
- width: 100vh;
8
- /* text-align: center; */
+ height: 100vh;
+ width: 100vw;
9
}
10
11
#sidebar * {
@@ -71,9 +67,8 @@
71
67
72
68
.canvas {
73
69
height: 100%;
74
- width: 100%;
75
- border: 0px solid black;
76
- box-shadow: 0 0 4px #000;
70
+ width: 86vw;
+ background-color: rgb(212, 212, 13);
77
78
79
client/src/App.jsx
@@ -46,7 +46,7 @@ function App() {
46
startX = e.clientX - canvas.getBoundingClientRect().left;
47
startY = e.clientY - canvas.getBoundingClientRect().top;
48
49
- function handleMouseup(e) {
+ function handleMouseup() {
50
isDrawing = false;
51
startX = 0;
52
startY = 0;
0 commit comments