Subh775 commited on
Commit
cb18342
·
verified ·
1 Parent(s): c7ef42a
Files changed (1) hide show
  1. static/index.html +9 -11
static/index.html CHANGED
@@ -28,7 +28,7 @@
28
  }
29
  .container {
30
  width: 100%;
31
- max-width: 1600px; /* Wider container */
32
  margin: 0 auto;
33
  background: var(--surface-bg);
34
  border-radius: 14px;
@@ -46,9 +46,9 @@
46
  border-bottom: 1px solid var(--border-color);
47
  }
48
  h1 {
49
- background: linear-gradient(135deg, var(--primary), var(--secondary));
50
- -webkit-background-clip: text;
51
- -webkit-text-fill-color: transparent;
52
  font-size: 1.8em;
53
  font-weight: 700;
54
  margin-bottom: 4px;
@@ -60,7 +60,7 @@
60
 
61
  .main-content {
62
  display: flex;
63
- flex-direction: column; /* Stack controls top, results bottom */
64
  flex: 1;
65
  padding: 20px;
66
  gap: 20px;
@@ -89,7 +89,7 @@
89
  background: #000;
90
  border: 1px solid var(--border-color);
91
  border-radius: 8px;
92
- display: none; /* Hidden until upload */
93
  overflow: hidden;
94
  position: relative;
95
  }
@@ -126,7 +126,6 @@
126
  }
127
  .upload-area p { color: var(--text-secondary); font-size: 0.95em; margin: 0; }
128
 
129
- /* Sliders & Buttons */
130
  label { color: var(--text-secondary); font-size: 0.85em; display: flex; justify-content: space-between; margin-bottom: 4px; }
131
  .slider-val { color: var(--primary); font-weight: bold; }
132
 
@@ -156,7 +155,7 @@
156
  grid-template-columns: 1fr 1fr;
157
  gap: 20px;
158
  flex: 1;
159
- min-height: 0; /* Fix for nested flex scrolling */
160
  }
161
 
162
  .result-card {
@@ -166,7 +165,7 @@
166
  display: flex;
167
  flex-direction: column;
168
  overflow: hidden;
169
- height: 100%; /* Fill the grid cell */
170
  }
171
 
172
  .card-header {
@@ -191,7 +190,6 @@
191
  align-items: center;
192
  justify-content: center;
193
  padding: 10px;
194
- /* Expanded height logic */
195
  height: 100%;
196
  min-height: 500px;
197
  width: 100%;
@@ -200,7 +198,7 @@
200
  .image-box img {
201
  width: 100%;
202
  height: 100%;
203
- object-fit: contain; /* Ensures aspect ratio is kept */
204
  display: block;
205
  }
206
 
 
28
  }
29
  .container {
30
  width: 100%;
31
+ max-width: 1600px;
32
  margin: 0 auto;
33
  background: var(--surface-bg);
34
  border-radius: 14px;
 
46
  border-bottom: 1px solid var(--border-color);
47
  }
48
  h1 {
49
+ /* FIX: Removed background-clip text which was causing the solid orange bar */
50
+ color: var(--primary);
51
+ text-shadow: 0 2px 10px rgba(231, 53, 98, 0.2);
52
  font-size: 1.8em;
53
  font-weight: 700;
54
  margin-bottom: 4px;
 
60
 
61
  .main-content {
62
  display: flex;
63
+ flex-direction: column;
64
  flex: 1;
65
  padding: 20px;
66
  gap: 20px;
 
89
  background: #000;
90
  border: 1px solid var(--border-color);
91
  border-radius: 8px;
92
+ display: none;
93
  overflow: hidden;
94
  position: relative;
95
  }
 
126
  }
127
  .upload-area p { color: var(--text-secondary); font-size: 0.95em; margin: 0; }
128
 
 
129
  label { color: var(--text-secondary); font-size: 0.85em; display: flex; justify-content: space-between; margin-bottom: 4px; }
130
  .slider-val { color: var(--primary); font-weight: bold; }
131
 
 
155
  grid-template-columns: 1fr 1fr;
156
  gap: 20px;
157
  flex: 1;
158
+ min-height: 0;
159
  }
160
 
161
  .result-card {
 
165
  display: flex;
166
  flex-direction: column;
167
  overflow: hidden;
168
+ height: 100%;
169
  }
170
 
171
  .card-header {
 
190
  align-items: center;
191
  justify-content: center;
192
  padding: 10px;
 
193
  height: 100%;
194
  min-height: 500px;
195
  width: 100%;
 
198
  .image-box img {
199
  width: 100%;
200
  height: 100%;
201
+ object-fit: contain;
202
  display: block;
203
  }
204