Fix at least the scroller

old-stable24
Varun Patil 2022-10-19 12:39:07 -07:00
parent 2496046d56
commit a1725ada86
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<div v-for="tick of visibleTicks" :key="tick.dayId"
class="tick"
:class="{ 'dash': !tick.text }"
:style="{ top: tick.top + 'px' }">
:style="{ transform: `translateY(${tick.top}px)` }">
<span v-if="tick.text">{{ tick.text }}</span>
</div>
@ -411,6 +411,8 @@ export default class ScrollerManager extends Mixins(GlobalMixin) {
font-weight: 600;
opacity: 0.95;
right: 9px;
top: 0;
transition: transform 0.2s linear;
transform: translateY(-50%);
z-index: 1;