mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:29:32 -05:00 
			
		
		
		
	fix(web): fix logo size on shared pages (#9346)
This commit is contained in:
		
							parent
							
								
									87053c8c0d
								
							
						
					
					
						commit
						f9dc870166
					
				@ -23,6 +23,7 @@
 | 
			
		||||
  export let user: UserResponseDto | undefined = undefined;
 | 
			
		||||
 | 
			
		||||
  const album = sharedLink.album as AlbumResponseDto;
 | 
			
		||||
  let innerWidth: number;
 | 
			
		||||
 | 
			
		||||
  let { isViewing: showAssetViewer } = assetViewingStore;
 | 
			
		||||
 | 
			
		||||
@ -47,6 +48,7 @@
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
  }}
 | 
			
		||||
  bind:innerWidth
 | 
			
		||||
/>
 | 
			
		||||
 | 
			
		||||
<header>
 | 
			
		||||
@ -65,7 +67,7 @@
 | 
			
		||||
    <ControlAppBar showBackButton={false}>
 | 
			
		||||
      <svelte:fragment slot="leading">
 | 
			
		||||
        <a data-sveltekit-preload-data="hover" class="ml-4" href="/">
 | 
			
		||||
          <ImmichLogo class="h-10" />
 | 
			
		||||
          <ImmichLogo class="h-[24px] w-[24px] max-w-none md:w-auto md:h-10 md:max-w-full" noText={innerWidth < 768} />
 | 
			
		||||
        </a>
 | 
			
		||||
      </svelte:fragment>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -23,6 +23,7 @@
 | 
			
		||||
 | 
			
		||||
  const viewport: Viewport = { width: 0, height: 0 };
 | 
			
		||||
  let selectedAssets: Set<AssetResponseDto> = new Set();
 | 
			
		||||
  let innerWidth: number;
 | 
			
		||||
 | 
			
		||||
  $: assets = sharedLink.assets;
 | 
			
		||||
  $: isMultiSelectionMode = selectedAssets.size > 0;
 | 
			
		||||
@ -68,6 +69,8 @@
 | 
			
		||||
  };
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<svelte:window bind:innerWidth />
 | 
			
		||||
 | 
			
		||||
<section class="bg-immich-bg dark:bg-immich-dark-bg">
 | 
			
		||||
  {#if isMultiSelectionMode}
 | 
			
		||||
    <AssetSelectControlBar assets={selectedAssets} clearSelect={() => (selectedAssets = new Set())}>
 | 
			
		||||
@ -83,7 +86,7 @@
 | 
			
		||||
    <ControlAppBar on:close={() => goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}>
 | 
			
		||||
      <svelte:fragment slot="leading">
 | 
			
		||||
        <a data-sveltekit-preload-data="hover" class="ml-4" href="/">
 | 
			
		||||
          <ImmichLogo class="h-10" />
 | 
			
		||||
          <ImmichLogo class="h-[24px] w-[24px] max-w-none md:w-auto md:h-10 md:max-w-full" noText={innerWidth < 768} />
 | 
			
		||||
        </a>
 | 
			
		||||
      </svelte:fragment>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user