fix icons

This commit is contained in:
Maxime Cannoodt 2022-07-11 00:42:20 +02:00
parent 7ba03da0ad
commit c889b2eb3c
3 changed files with 4 additions and 4 deletions

View File

@ -27,6 +27,6 @@
{displayText} {displayText}
{/if} {/if}
</span> </span>
<span class="h-3 mb-2 text-zinc-400 ml-0.5"><FaRegQuestionCircle /></span> <span class="w-3 h-3 inline-block mb-2 text-zinc-400 ml-0.5"><FaRegQuestionCircle /></span>
</span> </span>
</dfn> </dfn>

View File

@ -16,7 +16,7 @@
{#if isWebLink} {#if isWebLink}
<span class="underline cursor-not-allowed inline-flex items-center font-normal"> <span class="underline cursor-not-allowed inline-flex items-center font-normal">
<a {href} {title} class="external-link text-[#705dcf]"><slot /></a> <a {href} {title} class="external-link text-[#705dcf]"><slot /></a>
<span class="h-3 mb-2 text-zinc-400 ml-0.5"><LinkIcon /></span> <span class="h-3 w-3 inline-block mb-2 text-zinc-400 ml-0.5"><LinkIcon /></span>
</span> </span>
{:else} {:else}
<InternalLink useSlot><slot /></InternalLink> <InternalLink useSlot><slot /></InternalLink>

View File

@ -91,11 +91,11 @@
class="flex flex-row-reverse justify-end md:flex-row underline md:no-underline gap-1.5 uppercase items-center hover:underline" class="flex flex-row-reverse justify-end md:flex-row underline md:no-underline gap-1.5 uppercase items-center hover:underline"
> >
{#if showRaw} {#if showRaw}
<span class="h-6"><LogoDocument /> </span> <span class="w-6 h-6 inline-block"><LogoDocument /> </span>
<span>Render Document</span> <span>Render Document</span>
{:else} {:else}
<span>Raw Markdown</span> <span>Raw Markdown</span>
<span class="h-6"><LogoMarkdown /> </span> <span class="w-6 h-6 inline-block"><LogoMarkdown /> </span>
{/if} {/if}
</button> </button>
</p> </p>