Skip to content

Commit b54d626

Browse files
committed
fix: 调整集数网格的间距,优化布局
1 parent 5202a4b commit b54d626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/EpisodeSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ const EpisodeSelector: React.FC<EpisodeSelectorProps> = ({
321321
</div>
322322

323323
{/* 集数网格 */}
324-
<div className='grid grid-cols-[repeat(auto-fill,48px)] justify-center gap-2 overflow-y-auto h-full pb-4'>
324+
<div className='grid grid-cols-[repeat(auto-fill,48px)] justify-center gap-x-2 gap-y-1.5 overflow-y-auto h-full pb-4'>
325325
{(() => {
326326
const len = currentEnd - currentStart + 1;
327327
const episodes = Array.from({ length: len }, (_, i) =>

0 commit comments

Comments
 (0)