fix: blobpreview hashbadge more in line with handled

feat/type-attributes
Tomáš Mládek 2022-10-21 19:03:54 +02:00
parent f45adc2880
commit ec2039c16c
1 changed files with 9 additions and 8 deletions

View File

@ -60,8 +60,8 @@
let imageLoaded = null;
</script>
{#if handled}
<div class="preview">
<div class="preview">
{#if handled}
{#if group}
<ul class="group">
{#each groupChildren as address (address)}
@ -109,12 +109,12 @@
/>
</div>
{/if}
</div>
{:else}
<div class="hashbadge">
<HashBadge {address} />
</div>
{/if}
{:else}
<div class="hashbadge">
<HashBadge {address} />
</div>
{/if}
</div>
<style lang="scss">
.preview {
@ -146,6 +146,7 @@
font-size: 48px;
opacity: 0.25;
text-align: center;
line-height: 1;
}
.group {