Spaces:
Running
Running
BraydenMoore
commited on
Commit
•
1926acb
1
Parent(s):
ab11d28
Update stylings
Browse files- web/static/script.js +2 -2
- web/static/styles.css +1 -1
web/static/script.js
CHANGED
@@ -50,8 +50,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
50 |
// Create a canvas to draw cropped image
|
51 |
const canvas = document.createElement("canvas");
|
52 |
const ctx = canvas.getContext("2d");
|
53 |
-
canvas.width =
|
54 |
-
canvas.height =
|
55 |
|
56 |
let sourceX, sourceY, sourceWidth, sourceHeight;
|
57 |
|
|
|
50 |
// Create a canvas to draw cropped image
|
51 |
const canvas = document.createElement("canvas");
|
52 |
const ctx = canvas.getContext("2d");
|
53 |
+
canvas.width = 400;
|
54 |
+
canvas.height = 400;
|
55 |
|
56 |
let sourceX, sourceY, sourceWidth, sourceHeight;
|
57 |
|
web/static/styles.css
CHANGED
@@ -48,7 +48,7 @@ body {
|
|
48 |
|
49 |
#uploaded-image {
|
50 |
max-width: 100%;
|
51 |
-
max-height:
|
52 |
display: none;
|
53 |
align-items: center;
|
54 |
}
|
|
|
48 |
|
49 |
#uploaded-image {
|
50 |
max-width: 100%;
|
51 |
+
max-height: 400px;
|
52 |
display: none;
|
53 |
align-items: center;
|
54 |
}
|