Skip to content

Commit 53482ae

Browse files
committed
label above body-type podium corrected
1 parent 8681601 commit 53482ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

website/js/body-types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ import { AthleteRenderer } from "./AthleteRenderer.js";
595595
const normalizedHeight = athleteCm / 170;
596596

597597
const estimatedBodyHeight = 11.2 * normalizedHeight;
598-
const labelWorldY = pos.podiumHeight + estimatedBodyHeight + 3;
598+
const labelWorldY = pos.podiumHeight + estimatedBodyHeight + 5.2;
599599

600600
const v = new THREE.Vector3(pos.x, labelWorldY, 0);
601601
v.project(camera);

website/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ p {
788788

789789
#bodytype-podium {
790790
width: 100%;
791-
margin: 40px auto 0;
791+
margin: 95px auto 0;
792792
}
793793

794794
.bodytype-3d-wrapper {

0 commit comments

Comments
 (0)