모바일 갤러리: 홀수개 사진일 때 레이아웃 균형 보정
This commit is contained in:
parent
e3667037c7
commit
b06e9c0ad9
1 changed files with 4 additions and 0 deletions
|
|
@ -208,6 +208,10 @@ function MobileAlbumGallery() {
|
|||
/>
|
||||
</motion.div>
|
||||
))}
|
||||
{/* 홀수개일 때 오른쪽 열 하단에 빈 공간 방지용 플레이스홀더 */}
|
||||
{photos.length % 2 === 1 && (
|
||||
<div className="flex-1" />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue