BraydenMoore commited on
Commit
0b94eac
·
1 Parent(s): 9038602

Update styling

Browse files
Files changed (2) hide show
  1. web/static/script.js +1 -1
  2. web/static/styles.css +3 -5
web/static/script.js CHANGED
@@ -19,7 +19,7 @@ document.addEventListener("DOMContentLoaded", () => {
19
 
20
  const selectedFeature = featureSelect.value;
21
  const formData = new FormData();
22
- thinkingText.innerText = "Loading the model, it might take a second...";
23
  formData.append("uploaded-image", file);
24
  formData.append("feature", selectedFeature);
25
  lastUploadedImage = file;
 
19
 
20
  const selectedFeature = featureSelect.value;
21
  const formData = new FormData();
22
+ //thinkingText.innerText = "Loading the model, it might take a second...";
23
  formData.append("uploaded-image", file);
24
  formData.append("feature", selectedFeature);
25
  lastUploadedImage = file;
web/static/styles.css CHANGED
@@ -22,7 +22,6 @@ body {
22
 
23
  .dropzone {
24
  margin-top: 20px;
25
- padding: 20px;
26
  width: 90%;
27
  min-height: 100px;
28
  border: 2px dashed #000000;
@@ -36,8 +35,7 @@ body {
36
  .prediction-container {
37
  margin-top: 20px;
38
  min-height: 100px;
39
- padding: 20px;
40
- width: 90%;
41
  border: 2px solid #000000;
42
  display: flex;
43
  justify-content: center;
@@ -59,7 +57,7 @@ body {
59
  display: grid;
60
  row-gap: 1%;
61
  column-gap: 1%;
62
- width: 90%;
63
  justify-content: center;
64
  align-items: center;
65
  grid-template-columns: repeat(3, 1fr);
@@ -70,7 +68,7 @@ body {
70
  /* The predicted image */
71
  #predicted-images img {
72
  margin: auto;
73
- width: 90%;
74
  height: auto;
75
  display: block;
76
  align-items: center;
 
22
 
23
  .dropzone {
24
  margin-top: 20px;
 
25
  width: 90%;
26
  min-height: 100px;
27
  border: 2px dashed #000000;
 
35
  .prediction-container {
36
  margin-top: 20px;
37
  min-height: 100px;
38
+ width: 95%;
 
39
  border: 2px solid #000000;
40
  display: flex;
41
  justify-content: center;
 
57
  display: grid;
58
  row-gap: 1%;
59
  column-gap: 1%;
60
+ width: 95%;
61
  justify-content: center;
62
  align-items: center;
63
  grid-template-columns: repeat(3, 1fr);
 
68
  /* The predicted image */
69
  #predicted-images img {
70
  margin: auto;
71
+ width: 95%;
72
  height: auto;
73
  display: block;
74
  align-items: center;