forked from Cutlery/immich
		
	fix(web): logo invisible on share page (#7990)
This commit is contained in:
		
							parent
							
								
									abedfd1015
								
							
						
					
					
						commit
						e21c586cc5
					
				| @ -68,8 +68,8 @@ | |||||||
|   {:else} |   {:else} | ||||||
|     <ControlAppBar showBackButton={false}> |     <ControlAppBar showBackButton={false}> | ||||||
|       <svelte:fragment slot="leading"> |       <svelte:fragment slot="leading"> | ||||||
|         <a data-sveltekit-preload-data="hover" class="ml-4 hover:cursor-pointer" href="/"> |         <a data-sveltekit-preload-data="hover" class="ml-4" href="/"> | ||||||
|           <ImmichLogo width="55%" /> |           <ImmichLogo class="h-10" /> | ||||||
|         </a> |         </a> | ||||||
|       </svelte:fragment> |       </svelte:fragment> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -82,8 +82,8 @@ | |||||||
|   {:else} |   {:else} | ||||||
|     <ControlAppBar on:close={() => goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}> |     <ControlAppBar on:close={() => goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}> | ||||||
|       <svelte:fragment slot="leading"> |       <svelte:fragment slot="leading"> | ||||||
|         <a data-sveltekit-preload-data="hover" class="ml-4 hover:cursor-pointer" href="/"> |         <a data-sveltekit-preload-data="hover" class="ml-4" href="/"> | ||||||
|           <ImmichLogo width="50%" /> |           <ImmichLogo class="h-10" /> | ||||||
|         </a> |         </a> | ||||||
|       </svelte:fragment> |       </svelte:fragment> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -4,6 +4,13 @@ | |||||||
|   import logoNoText from '$lib/assets/immich-logo.svg'; |   import logoNoText from '$lib/assets/immich-logo.svg'; | ||||||
|   import { Theme } from '$lib/constants'; |   import { Theme } from '$lib/constants'; | ||||||
|   import { colorTheme } from '$lib/stores/preferences.store'; |   import { colorTheme } from '$lib/stores/preferences.store'; | ||||||
|  |   import type { HTMLImgAttributes } from 'svelte/elements'; | ||||||
|  | 
 | ||||||
|  |   // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||||||
|  |   interface $$Props extends HTMLImgAttributes { | ||||||
|  |     noText?: boolean; | ||||||
|  |     draggable?: boolean; | ||||||
|  |   } | ||||||
| 
 | 
 | ||||||
|   export let noText = false; |   export let noText = false; | ||||||
|   export let draggable = false; |   export let draggable = false; | ||||||
|  | |||||||
| @ -38,7 +38,7 @@ | |||||||
|     <ControlAppBar showBackButton={false}> |     <ControlAppBar showBackButton={false}> | ||||||
|       <svelte:fragment slot="leading"> |       <svelte:fragment slot="leading"> | ||||||
|         <a data-sveltekit-preload-data="hover" class="ml-4" href="/"> |         <a data-sveltekit-preload-data="hover" class="ml-4" href="/"> | ||||||
|           <ImmichLogo width="55%" /> |           <ImmichLogo class="h-10" /> | ||||||
|         </a> |         </a> | ||||||
|       </svelte:fragment> |       </svelte:fragment> | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user