mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
fix-version-selector-dropdown (#543)
* fix-version-selector-dropdown * prettier
This commit is contained in:
parent
1685993e5a
commit
6c8bc7585f
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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)}
|
||||
|
|
Loading…
Reference in a new issue