mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: padding for searchresults/photostream
This commit is contained in:
parent
50d462b95f
commit
5ac5aa57a8
1 changed files with 8 additions and 3 deletions
|
|
@ -22,8 +22,13 @@
|
|||
searchResultsManager: SearchResultsManager;
|
||||
}
|
||||
|
||||
let { searchResultsManager, assetInteraction, children, stylePaddingHorizontalPx, styleMarginTopPx }: Props =
|
||||
$props();
|
||||
let {
|
||||
searchResultsManager,
|
||||
assetInteraction,
|
||||
children,
|
||||
stylePaddingHorizontalPx = 0,
|
||||
styleMarginTopPx,
|
||||
}: Props = $props();
|
||||
let viewer: Photostream | undefined = $state(undefined);
|
||||
|
||||
const onAfterNavigateComplete = ({ scrollToAssetQueryParam }: { scrollToAssetQueryParam: boolean }) =>
|
||||
|
|
@ -50,7 +55,7 @@
|
|||
{@render children?.()}
|
||||
|
||||
{#snippet skeleton({ segment })}
|
||||
<Skeleton height={segment.height - segment.timelineManager.headerHeight} />
|
||||
<Skeleton height={segment.height - segment.timelineManager.headerHeight} {stylePaddingHorizontalPx} />
|
||||
{/snippet}
|
||||
|
||||
{#snippet segment({ segment, onScrollCompensationMonthInDOM })}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue