@@ -198,23 +228,27 @@ const Settings = () => {
)}
-
- {detail.type === 'dynamic' ? (
-
- Coming soon...
-
- ) : (
- <>
-
- $
- {recurring === SubscriptionRecurring.Monthly
- ? detail.price
- : detail.yearlyPrice}
+
+
+ {detail.type === 'dynamic' ? (
+
+ Coming soon...
- per month
- >
- )}
-
+ ) : (
+ <>
+
+ $
+ {recurring === SubscriptionRecurring.Monthly
+ ? detail.price
+ : detail.yearlyPrice}
+
+
+ per month
+
+ >
+ )}
+
+
{
// branches:
// if contact => 'Contact Sales'
@@ -264,8 +298,11 @@ const Settings = () => {
{detail.benefits.map((content, i) => (
- {/* TODO: icons */}
- {detail.type == 'dynamic' ? '·' : '✅'}
+ {detail.type == 'dynamic' ? (
+
+ ) : (
+
+ )}
{content}
diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/style.css.ts b/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/style.css.ts
index 636169e78e..c3587350d2 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/style.css.ts
+++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/style.css.ts
@@ -22,6 +22,8 @@ export const planCardsWrapper = style({
display: 'flex',
overflowX: 'auto',
scrollSnapType: 'x mandatory',
+ // TODO: should display the horizontal scrollbar, ensure the box-shadow is not clipped
+ paddingBottom: '21px',
});
export const planCard = style({
@@ -75,6 +77,13 @@ export const planTitle = style({
fontWeight: 600,
});
+export const planPriceWrapper = style({
+ minHeight: '28px',
+ lineHeight: 1,
+ display: 'flex',
+ alignItems: 'flex-end',
+});
+
export const planPrice = style({
fontSize: 'var(--affine-font-h-5)',
marginRight: '8px',