minor style fixes from spreadsheet (#458)

This commit is contained in:
ABevier 2023-04-13 20:03:54 -04:00 committed by GitHub
parent af59c02cae
commit e7099d86e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -38,7 +38,7 @@
<section class="mt-4 bg-black">
<header class="flex">
<figure class="grow-1 w-1/3">
<img width={260} src={pkg.thumb_image_url} alt={pkg.full_name} />
<img class="w-full" src={pkg.thumb_image_url} alt={pkg.full_name} />
</figure>
<article class="w-2/3 p-4 pt-8">
<h3 class="text-primary text-3xl">{pkg.full_name}</h3>

View file

@ -56,9 +56,9 @@
<InstallButton {pkg} {availableVersions} onClick={onClickCTA} uninstall={onUninstall} />
</div>
</div>
<div class="relative mt-1 h-[10px] leading-[10px]">
<div class="relative mt-1.5 h-[10px] leading-[10px]">
{#if pkg.state === "NEEDS_UPDATE"}
<span class="text-[0.5rem]">Updating from v{findRecentInstalledVersion(pkg)}</span>
<span class="text-[9px]">Updating from v{findRecentInstalledVersion(pkg)}</span>
{/if}
</div>
</div>

View file

@ -80,7 +80,8 @@
</section>
-->
{#if needsUpdateCount && sideMenuOption === SideMenuOptions.installed_updates_available}
<div class="flex items-center text-sm pr-2">
<!-- 22px right margin to account for the scrollbar on the package cards -->
<div class="flex items-center text-sm mr-[22px]">
{#if currentUpdatingPkg}
<p class="text-gray px-2">{updatingMessage}</p>
{/if}