Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 6c8bc75

Browse files
authored
fix-version-selector-dropdown (#543)
* fix-version-selector-dropdown * prettier
1 parent 1685993 commit 6c8bc75

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

modules/desktop/src/components/package-install-button/package-install-button.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@
4646
>
4747
<div class="version-button h-full">
4848
<div class="flex h-full flex-col justify-center p-2">
49-
<div class="flex items-center justify-between gap-x-2">
49+
<div
50+
class="flex items-center gap-x-2 {hasVersionSelectorDropdown
51+
? 'justify-between'
52+
: 'justify-center'}"
53+
>
5054
<div class="flex items-center gap-x-2">
5155
<div>{ctaLabel}</div>
5256
<div class="version-label {badgeClass[pkg.state]}">{pkg.version}</div>

modules/ui/src/button/button.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="button-container">
1717
<button
1818
type="button"
19-
class="w-full p-2 text-gray {clazz} {type} {color}"
19+
class="w-full text-gray {clazz} {type} {color}"
2020
class:active
2121
class:animate-pulse={loading}
2222
on:click={(evt) => onClick && onClick(evt)}

0 commit comments

Comments
 (0)