diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelte index 79b5f0d453..5347389e1f 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte @@ -1,207 +1,207 @@
-
- -
+
+ +
-
{ + on:mouseenter={() => { halfLeftHover = true; halfRightHover = false; }} - on:mouseleave={() => { + on:mouseleave={() => { halfLeftHover = false; }} - on:click={navigateAssetBackward} - > - -
+ on:click={navigateAssetBackward} + > + + -
- {#key asset.id} - {#if asset.type === AssetTypeEnum.Image} - - {:else} - - {/if} - {/key} -
+
+ {#key asset.id} + {#if asset.type === AssetTypeEnum.Image} + + {:else} + + {/if} + {/key} +
-
{ + on:click={navigateAssetForward} + on:mouseenter={() => { halfLeftHover = false; halfRightHover = true; }} - on:mouseleave={() => { + on:mouseleave={() => { halfRightHover = false; }} - > - -
+ > + + - {#if isShowDetail} -
- (isShowDetail = false)}/> -
- {/if} + {#if isShowDetail} +
+ (isShowDetail = false)} /> +
+ {/if}