diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-05-31 01:09:58 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-05-31 01:09:58 +0200 |
| commit | 6ccc6f60fc85e665c8a07a169efbe8d09c9d9e8e (patch) | |
| tree | 87c397af49b7820b5fb2c0fa3037be2ac4a587e8 /src/lib/components/glyph/glyph.svelte | |
| parent | 852ee620f0a2f6a83cf83eba860ca951b66bb7e2 (diff) | |
Lint, rm unused code
Diffstat (limited to 'src/lib/components/glyph/glyph.svelte')
| -rw-r--r-- | src/lib/components/glyph/glyph.svelte | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/components/glyph/glyph.svelte b/src/lib/components/glyph/glyph.svelte index 0726752..89bc10c 100644 --- a/src/lib/components/glyph/glyph.svelte +++ b/src/lib/components/glyph/glyph.svelte @@ -5,9 +5,17 @@ export let uuid: string; </script> -<div class="inline-block w-12 h-12 mt-1 bg-white border border-black border-solid p-0.5 box-content glyphicon" role="img" aria-label={$_('glyph.title')} title={$_('glyph.title')}> +<div + class="inline-block w-12 h-12 mt-1 bg-white border border-black border-solid p-0.5 box-content glyphicon" + role="img" + aria-label={$_('glyph.title')} + title={$_('glyph.title')} +> {#each getGlyphHash(uuid) as fragment} - <span class="block text-2xl float-left w-6 h-6 text-center leading-6 {fragment.glyph}" style="color: {fragment.color} "> + <span + class="block text-2xl float-left w-6 h-6 text-center leading-6 {fragment.glyph}" + style="color: {fragment.color} " + > {fragment.glyph} </span> {/each} |