File tree Expand file tree Collapse file tree 4 files changed +35
-35
lines changed Expand file tree Collapse file tree 4 files changed +35
-35
lines changed Original file line number Diff line number Diff line change 55
55
};
56
56
</script >
57
57
58
- <div class =" absolute end-0 top-0 z-1 flex place-items-center gap-1 text-xs font-medium text-white" >
59
- {#if showTime }
60
- <span class =" pt-2" >
61
- {#if remainingSeconds < 60 }
62
- {Duration .fromObject ({ seconds: remainingSeconds }).toFormat (' m:ss' )}
63
- {:else if remainingSeconds < 3600 }
64
- {Duration .fromObject ({ seconds: remainingSeconds }).toFormat (' mm:ss' )}
65
- {:else }
66
- {Duration .fromObject ({ seconds: remainingSeconds }).toFormat (' h:mm:ss' )}
67
- {/if }
68
- </span >
69
- {/if }
70
-
71
- <!-- svelte-ignore a11y_no_static_element_interactions -->
72
- <span class ="pe-2 pt-2" onmouseenter ={onMouseEnter } onmouseleave ={onMouseLeave }>
73
- {#if enablePlayback }
74
- {#if loading }
75
- <LoadingSpinner />
76
- {:else if error }
77
- <Icon path ={mdiAlertCircleOutline } size =" 24" class =" text-red-600" />
78
- {:else }
79
- <Icon path ={pauseIcon } size =" 24" />
80
- {/if }
81
- {:else }
82
- <Icon path ={playIcon } size =" 24" />
83
- {/if }
84
- </span >
85
- </div >
86
-
87
58
{#if enablePlayback }
88
59
<video
89
60
bind:this ={player }
114
85
}}
115
86
></video >
116
87
{/if }
88
+
89
+ <div class =" absolute end-0 top-0 flex place-items-center gap-1 text-xs font-medium text-white" >
90
+ {#if showTime }
91
+ <span class =" pt-2" >
92
+ {#if remainingSeconds < 60 }
93
+ {Duration .fromObject ({ seconds: remainingSeconds }).toFormat (' m:ss' )}
94
+ {:else if remainingSeconds < 3600 }
95
+ {Duration .fromObject ({ seconds: remainingSeconds }).toFormat (' mm:ss' )}
96
+ {:else }
97
+ {Duration .fromObject ({ seconds: remainingSeconds }).toFormat (' h:mm:ss' )}
98
+ {/if }
99
+ </span >
100
+ {/if }
101
+
102
+ <!-- svelte-ignore a11y_no_static_element_interactions -->
103
+ <span class ="pe-2 pt-2" onmouseenter ={onMouseEnter } onmouseleave ={onMouseLeave }>
104
+ {#if enablePlayback }
105
+ {#if loading }
106
+ <LoadingSpinner />
107
+ {:else if error }
108
+ <Icon path ={mdiAlertCircleOutline } size =" 24" class =" text-red-600" />
109
+ {:else }
110
+ <Icon path ={pauseIcon } size =" 24" />
111
+ {/if }
112
+ {:else }
113
+ <Icon path ={playIcon } size =" 24" />
114
+ {/if }
115
+ </span >
116
+ </div >
Original file line number Diff line number Diff line change 52
52
53
53
<svelte:window bind:innerWidth />
54
54
55
- <nav id =" dashboard-navbar" class =" max-md:h-(--navbar-height-md) h-(--navbar-height) w-dvw text-sm overflow-hidden " >
55
+ <nav id =" dashboard-navbar" class =" max-md:h-(--navbar-height-md) h-(--navbar-height) w-dvw text-sm" >
56
56
<SkipLink text ={$t (' skip_to_content' )} />
57
57
<div
58
58
class ="grid h-full grid-cols-[--spacing(32)_auto] items-center py-2 sidebar:grid-cols-[--spacing(64)_auto] {noBorder
Original file line number Diff line number Diff line change 214
214
]}
215
215
/>
216
216
217
- <div class ="w-full relative" use:focusOutside ={{ onFocusOut }} tabindex =" -1" >
217
+ <div class ="w-full relative z-2 " use:focusOutside ={{ onFocusOut }} tabindex =" -1" >
218
218
<form
219
219
draggable =" false"
220
220
autocomplete =" off"
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
+ import CircleIconButton from ' $lib/components/elements/buttons/circle-icon-button.svelte' ;
2
3
import Icon from ' $lib/components/elements/icon.svelte' ;
3
4
import { searchStore } from ' $lib/stores/search.svelte' ;
4
- import { mdiMagnify , mdiClose } from ' @mdi/js' ;
5
- import { fly } from ' svelte/transition' ;
5
+ import { mdiClose , mdiMagnify } from ' @mdi/js' ;
6
6
import { t } from ' svelte-i18n' ;
7
- import CircleIconButton from ' $lib/components/elements/buttons/circle-icon-button. svelte' ;
7
+ import { fly } from ' svelte/transition ' ;
8
8
9
9
interface Props {
10
10
id: string ;
95
95
{#if isOpen && isSearchSuggestions }
96
96
<div
97
97
transition:fly ={{ y : 25 , duration : 150 }}
98
- class =" absolute w-full rounded-b-3xl border-2 border-t-0 border-gray-200 bg-white pb-5 shadow-2xl transition-all dark:border-gray-700 dark:bg-immich-dark-gray dark:text-gray-300"
98
+ class =" absolute w-full rounded-b-3xl border-2 border-t-0 border-gray-200 bg-white pb-5 shadow-2xl transition-all dark:border-gray-700 dark:bg-immich-dark-gray dark:text-gray-300 z-1 "
99
99
>
100
100
<div class =" flex items-center justify-between px-5 pt-5 text-xs" >
101
101
<p class ="py-2" aria-hidden ={true }>{$t (' recent_searches' ).toUpperCase ()}</p >
You can’t perform that action at this time.
0 commit comments