fix(web): stick action bar on search (#5459)
This commit is contained in:
parent
2195730fa6
commit
6111bf157e
1 changed files with 18 additions and 16 deletions
|
@ -106,23 +106,25 @@
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
{#if isMultiSelectionMode}
|
{#if isMultiSelectionMode}
|
||||||
<AssetSelectControlBar assets={selectedAssets} clearSelect={() => (selectedAssets = new Set())}>
|
<div class="fixed z-[100] top-0 left-0 w-full">
|
||||||
<CreateSharedLink />
|
<AssetSelectControlBar assets={selectedAssets} clearSelect={() => (selectedAssets = new Set())}>
|
||||||
<CircleIconButton title="Select all" icon={mdiSelectAll} on:click={handleSelectAll} />
|
<CreateSharedLink />
|
||||||
<AssetSelectContextMenu icon={mdiPlus} title="Add">
|
<CircleIconButton title="Select all" icon={mdiSelectAll} on:click={handleSelectAll} />
|
||||||
<AddToAlbum />
|
<AssetSelectContextMenu icon={mdiPlus} title="Add">
|
||||||
<AddToAlbum shared />
|
<AddToAlbum />
|
||||||
</AssetSelectContextMenu>
|
<AddToAlbum shared />
|
||||||
<DeleteAssets {onAssetDelete} />
|
</AssetSelectContextMenu>
|
||||||
|
<DeleteAssets {onAssetDelete} />
|
||||||
|
|
||||||
<AssetSelectContextMenu icon={mdiDotsVertical} title="Add">
|
<AssetSelectContextMenu icon={mdiDotsVertical} title="Add">
|
||||||
<DownloadAction menuItem />
|
<DownloadAction menuItem />
|
||||||
<FavoriteAction menuItem removeFavorite={isAllFavorite} />
|
<FavoriteAction menuItem removeFavorite={isAllFavorite} />
|
||||||
<ArchiveAction menuItem unarchive={isAllArchived} />
|
<ArchiveAction menuItem unarchive={isAllArchived} />
|
||||||
<ChangeDate menuItem />
|
<ChangeDate menuItem />
|
||||||
<ChangeLocation menuItem />
|
<ChangeLocation menuItem />
|
||||||
</AssetSelectContextMenu>
|
</AssetSelectContextMenu>
|
||||||
</AssetSelectControlBar>
|
</AssetSelectControlBar>
|
||||||
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<ControlAppBar on:close-button-click={() => goto(previousRoute)} backIcon={mdiArrowLeft}>
|
<ControlAppBar on:close-button-click={() => goto(previousRoute)} backIcon={mdiArrowLeft}>
|
||||||
<div class="w-full flex-1 pl-4">
|
<div class="w-full flex-1 pl-4">
|
||||||
|
|
Loading…
Reference in a new issue