Skip to content

Commit c361486

Browse files
committed
- minor ux and design fixes
1 parent 907c99c commit c361486

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

timeline.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
height: 70px;
4848
padding: 10px 10px 10px 30px;
4949
color: #fff;
50+
overflow-y: hidden;
5051
}
5152

5253
.slider-container {

timeline.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,6 @@ function exitTimeTravel() {
384384
document.querySelector('#timeline-exit').style.display = 'none';
385385

386386
currentHash = null;
387-
388-
if (timelineData.length > 0) {
389-
const slider = document.getElementById("slider");
390-
const lastStep = slider.querySelector(".slider-step:last-child");
391-
const sliderThumb = slider.querySelector(".slider-thumb");
392-
sliderThumb.style.left = (parseInt(lastStep.style.left) - 2) + 'px';
393-
}
394387
}
395388

396389
function showLoading() {

0 commit comments

Comments
 (0)