mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
minor style fixes from spreadsheet (#458)
This commit is contained in:
parent
af59c02cae
commit
e7099d86e4
3 changed files with 5 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue