Skip to content

Commit 9033353

Browse files
committedApr 1, 2024
Fixed 3d Image
1 parent f15a86a commit 9033353

File tree

3 files changed

+456
-19
lines changed

3 files changed

+456
-19
lines changed
 

‎components/Prediction.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -154,29 +154,29 @@ export default function Prediction({ prediction, requestBody, setPrediction }) {
154154
</tbody>
155155
</table>
156156
</div>
157-
<div className="flex gap-3 flex-col lg:flex-row">
157+
<div className="flex gap-6 flex-col lg:flex-row">
158158
<Image
159-
className="md:w-1/2 w-full rounded-lg"
160-
src={prediction.solution_of_burgers.image}
159+
className="md:w-[49%] w-full rounded-lg"
160+
src={prediction.collocation_points}
161161
width={450}
162162
height={600}
163-
alt="Burger Solution"
163+
alt="Collocation Points"
164164
/>
165165
<Image
166-
className="md:w-1/2 w-full rounded-lg"
166+
className="md:w-[49%] w-full rounded-lg"
167167
src={prediction.solution_of_burgers.loss}
168168
width={450}
169169
height={600}
170170
alt="Burger Solution Loss"
171171
/>
172172
</div>
173-
<div className="flex justify-center -mt-2 md:mt-0 w-full">
173+
<div className="flex justify-center mt-1 md:mt-2 w-full">
174174
<Image
175-
className="rounded-lg"
176-
src={prediction.collocation_points}
175+
className=" w-full rounded-lg"
176+
src={prediction.solution_of_burgers.image}
177177
width={450}
178178
height={600}
179-
alt="Collocation Points"
179+
alt="Burger Solution"
180180
/>
181181
</div>
182182
</div>

‎package-lock.json

+446-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@headlessui/react": "^1.7.18",
13-
"next": "14.1.4",
13+
"next": "14.1.4",
1414
"react": "^18",
1515
"react-dom": "^18",
1616
"react-spinners": "^0.13.8",

0 commit comments

Comments
 (0)
Please sign in to comment.