Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix(billing): place current plan badge beside the title

Timothy Yinffe342de597d
diff --git a/apps/cloud/app/assets/cloud.css b/apps/cloud/app/assets/cloud.css
index a04409de..150dae4a 100644
--- a/apps/cloud/app/assets/cloud.css
+++ b/apps/cloud/app/assets/cloud.css
@@ -2116,13 +2116,10 @@ a.cf-domain-address:hover {
padding-right: 36px;
display: flex;
align-items: center;
- justify-content: space-between;
+ justify-content: flex-start;
gap: 10px;
flex-wrap: wrap;
}
-.cf-plan-card-heading.has-recommendation {
- justify-content: flex-start;
-}
.cf-plan-card-heading h2 {
font-size: 19px;
}
diff --git a/apps/cloud/app/components/CloudPricing.vue b/apps/cloud/app/components/CloudPricing.vue
index bcaf4a24..321ddcd1 100644
--- a/apps/cloud/app/components/CloudPricing.vue
+++ b/apps/cloud/app/components/CloudPricing.vue
@@ -363,15 +363,7 @@ async function checkout(plan: any) {
}).format(discountBps(plan) / 100)
}}%</span
>
- <div
- class="cf-plan-card-heading"
- :class="{
- 'has-recommendation':
- embedded &&
- plan.featured &&
- !(portal && plan.id === currentPlan),
- }"
- >
+ <div class="cf-plan-card-heading">
<h2>{{ plan.name }}</h2>
<CfBadge v-if="portal && plan.id === currentPlan">{{
$t('cloud.billing.current')