Skip to content

Commit

Permalink
feat: better size for expand chip
Browse files Browse the repository at this point in the history
  • Loading branch information
Ushie committed Jul 31, 2023
1 parent eb00549 commit afbc0d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/routes/patches/PatchItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@
</li>
{/if}
{#if patch.compatiblePackages[0].versions.length > 1}
<Button type="text" on:click={() => (showAllVersions = !showAllVersions)}>
<Button type="tonal" on:click={() => (showAllVersions = !showAllVersions)}>
<img
height="100%"
class="expand-arrow"
id="expand-versions"
style:transform={showAllVersions ? 'rotate(90deg)' : 'rotate(-90deg)'}
Expand Down Expand Up @@ -171,7 +172,7 @@
transition: all 0.2s var(--bezier-one);
user-select: none;
&#expand-versions {
height: 1.125rem;
height: 1.5rem;
}
&#expand-card {
height: 1.5rem;
Expand Down

0 comments on commit afbc0d1

Please sign in to comment.