mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 19:39:19 +00:00
Fix layout jumping when loading timeline
This commit is contained in:
@@ -204,7 +204,8 @@ export const MediaThumbnail = ({
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
minWidth: `min(${minWidth}px, 100%)`,
|
||||
// minWidth: `min(${minWidth}px, 100%)`,
|
||||
minWidth: `${minWidth}px`,
|
||||
height: `200px`,
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -103,7 +103,7 @@ const TimelineGroupAlbum = ({
|
||||
<Link to={`/album/${album.id}`} className="hover:underline">
|
||||
{album.title}
|
||||
</Link>
|
||||
<div className="flex flex-wrap items-center min-h-[210px] relative -mx-1 pr-4">
|
||||
<div className="flex flex-wrap items-center h-[210px] relative -mx-1 pr-4 overflow-hidden">
|
||||
{mediaElms}
|
||||
{itemsBubble}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user