Skip to content

Commit 19ed966

Browse files
committed
fix icons alignment in billing upgrade buttons
1 parent 33818f1 commit 19ed966

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

resources/js/Components/Common/UpgradeModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ const show = defineModel('show', { default: false });
3939
<PrimaryButton
4040
type="button"
4141
class="mt-6"
42+
:icon="CreditCardIcon"
4243
v-if="
4344
isBillingActivated() && canUpdateOrganization()
4445
">
45-
<CreditCardIcon class="w-5 h-5 me-2" />
4646
Go to Billing
4747
</PrimaryButton>
4848
</Link>

resources/js/Components/NotificationContainer.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@
4141
<Link
4242
v-if="isBillingActivated() && canManageBilling()"
4343
href="/billing">
44-
<PrimaryButton type="button" class="mt-6">
45-
<CreditCardIcon class="w-5 h-5 me-2" />
44+
<PrimaryButton
45+
:icon="CreditCardIcon"
46+
type="button"
47+
class="mt-6">
4648
Go to Billing
4749
</PrimaryButton>
4850
</Link>

resources/js/Pages/ReportingShared.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ watch(currentPage, () => {
103103
<PrimaryButton
104104
type="button"
105105
class="mt-6"
106+
:icon="CreditCardIcon"
106107
v-if="
107108
isBillingActivated() && canUpdateOrganization()
108109
">
109-
<CreditCardIcon class="w-5 h-5 me-2" />
110110
Go to Billing
111111
</PrimaryButton>
112112
</Link>

resources/js/Pages/Teams/Partials/UpdateTeamNameForm.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ const updateTeamName = () => {
6464
<Link
6565
v-if="isBillingActivated() && canManageBilling()"
6666
href="/billing">
67-
<PrimaryButton type="button">
68-
<CreditCardIcon class="w-5 h-5 me-2" />
67+
<PrimaryButton :icon="CreditCardIcon" type="button">
6968
Go to Billing
7069
</PrimaryButton>
7170
</Link>

0 commit comments

Comments
 (0)