fix-version-selector-dropdown (#543)

* fix-version-selector-dropdown

* prettier
This commit is contained in:
ABevier 2023-05-02 19:36:09 -04:00 committed by GitHub
parent 1685993e5a
commit 6c8bc7585f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -46,7 +46,11 @@
>
<div class="version-button h-full">
<div class="flex h-full flex-col justify-center p-2">
<div class="flex items-center justify-between gap-x-2">
<div
class="flex items-center gap-x-2 {hasVersionSelectorDropdown
? 'justify-between'
: 'justify-center'}"
>
<div class="flex items-center gap-x-2">
<div>{ctaLabel}</div>
<div class="version-label {badgeClass[pkg.state]}">{pkg.version}</div>

View file

@ -16,7 +16,7 @@
<div class="button-container">
<button
type="button"
class="w-full p-2 text-gray {clazz} {type} {color}"
class="w-full text-gray {clazz} {type} {color}"
class:active
class:animate-pulse={loading}
on:click={(evt) => onClick && onClick(evt)}