Style fixes to hide/show

This commit is contained in:
WardPearce
2026-03-08 23:55:27 +13:00
parent bc9cdca987
commit 53aa7510f2
2 changed files with 9 additions and 6 deletions
@@ -61,6 +61,7 @@
import { ScreenOrientation, type ScreenOrientationResult } from '@capacitor/screen-orientation';
import ClosedCaptions from './ClosedCaptions.svelte';
import { getVideoWatchHistory, updateWatchHistory } from '$lib/api';
import { resolve } from '$app/paths';
interface Props {
data: { video: VideoPlay; content: ParsedDescription; playlistId: string | null };
@@ -819,9 +820,11 @@
{videoLength(currentTime)} / {videoLength(playerMaxKnownTime)}
{/if}
</p>
<p class="chip surface-container-highest">
{playerVideoEndTimePretty}
</p>
{#if playerVideoEndTimePretty && playerVideoEndTimePretty !== ''}
<p class="chip surface-container-highest">
{playerVideoEndTimePretty}
</p>
{/if}
</div>
{/if}
<TouchControls
+3 -3
View File
@@ -31,14 +31,14 @@ body {
opacity: 0 !important;
visibility: hidden !important;
transition:
opacity 200ms linear,
visibility 0s linear 200ms !important;
opacity 300ms linear,
visibility 0s linear 300ms !important;
}
.show {
opacity: 1 !important;
visibility: visible !important;
transition: opacity 200ms linear !important;
transition: opacity 300ms linear !important;
}
article {