refac: styling

This commit is contained in:
Timothy J. Baek 2024-10-06 12:54:20 -07:00
parent babfc97c90
commit 4b00036dbf

View File

@ -289,14 +289,16 @@
}}>{copied ? $i18n.t('Copied') : $i18n.t('Copy')}</button }}>{copied ? $i18n.t('Copied') : $i18n.t('Copy')}</button
> >
<Tooltip content={$i18n.t('Open in full screen')}> {#if contents[selectedContentIdx].type === 'iframe'}
<button <Tooltip content={$i18n.t('Open in full screen')}>
class=" bg-none border-none text-xs bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 transition rounded-md p-0.5" <button
on:click={showFullScreen} class=" bg-none border-none text-xs bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 transition rounded-md p-0.5"
> on:click={showFullScreen}
<ArrowsPointingOut className="size-3.5" /> >
</button> <ArrowsPointingOut className="size-3.5" />
</Tooltip> </button>
</Tooltip>
{/if}
</div> </div>
</div> </div>
{/if} {/if}