mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 17:40:05 -04:00
Update HTMLPreview.svelte
This commit is contained in:
parent
c756362735
commit
b03fe17124
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
export let close = () => {}
|
||||
|
||||
const fieldset = [
|
||||
{ name: 'logo', type: 'image', value: data.logo },
|
||||
{ name: 'logo', type: 'image', value: data.logo, alt: `${data.name} logo`, title: data.logo },
|
||||
{ name: 'id', type: 'string', value: data.id },
|
||||
{ name: 'name', type: 'string', value: data.name },
|
||||
{ name: 'alt_names', type: 'string', value: data.alt_names.join(', ') },
|
||||
|
@ -98,7 +98,8 @@
|
|||
{#if field.type === 'image'}
|
||||
<img
|
||||
src={field.value}
|
||||
alt={field.name}
|
||||
alt={field.alt}
|
||||
title={field.title}
|
||||
referrerpolicy="no-referrer"
|
||||
class="border rounded-sm overflow-hidden border-gray-200 bg-[#e6e6e6]"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue