Skip to content

Commit

Permalink
Merge pull request #3663 from ac615223s5/patch-1
Browse files Browse the repository at this point in the history
make the time in the video player preview white in light mode
  • Loading branch information
Bnyro authored Jun 15, 2024
2 parents 1f912f7 + 1f352e0 commit bdcef70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/VideoPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
class="absolute bottom-0 z-[2000] mb-[3.5%] hidden flex-col items-center"
>
<canvas id="preview" ref="preview" class="rounded-sm" />
<span class="mt-2 w-min rounded-xl bg-dark-700 px-2 pb-1 pt-1.5 text-sm" v-text="timeFormat(currentTime)" />
<span
class="mt-2 w-min rounded-xl bg-white px-2 pb-1 pt-1.5 text-sm .dark:bg-dark-700"
v-text="timeFormat(currentTime)"
/>
</span>
<button
v-if="inSegment"
Expand Down

0 comments on commit bdcef70

Please sign in to comment.