fix: safari show resolution fallback

This commit is contained in:
shinya
2025-07-17 10:24:02 +08:00
parent a412c5cb54
commit 0ab4115f6d
2 changed files with 2 additions and 7 deletions

View File

@@ -1497,7 +1497,7 @@ function PlayPageClient() {
</div>
<div
className={`grid gap-4 lg:h-[500px] xl:h-[650px] 2xl:h-[800px] transition-all duration-300 ease-in-out ${
className={`grid gap-4 lg:h-[500px] xl:h-[650px] 2xl:h-[750px] transition-all duration-300 ease-in-out ${
isEpisodeSelectorCollapsed
? 'grid-cols-1'
: 'grid-cols-1 md:grid-cols-4'

View File

@@ -530,12 +530,7 @@ const EpisodeSelector: React.FC<EpisodeSelectorProps> = ({
}
}
// 始终显示占位符,确保布局一致且分辨率信息始终可见
return optimizationEnabled ? (
<div className='bg-gray-500/10 dark:bg-gray-400/20 text-gray-500 dark:text-gray-400 px-1.5 py-0 rounded text-xs flex-shrink-0 min-w-[50px] text-center'>
</div>
) : null;
return null;
})()}
</div>