Skip to content

Commit 5fc1593

Browse files
committed
+changes
1 parent 53812e8 commit 5fc1593

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pcweb/pages/pricing/plan_cards.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ def card(
153153
price,
154154
color_scheme="gray",
155155
size="3",
156-
class_name="font-medium text-lg",
156+
class_name="font-medium 2xl:text-lg text-base w-fit",
157157
)
158158
if price
159159
else rx.fragment()
160160
),
161-
class_name="flex items-center mb-2 gap-4",
161+
class_name="flex 2xl:items-center mb-2 2xl:gap-4 gap-2 2xl:flex-row flex-col",
162162
),
163163
rx.el.p(
164164
description, class_name="text-sm font-medium text-slate-9 mb-8 text-pretty"
@@ -213,19 +213,19 @@ def popular_card(
213213
rx.box(
214214
glow(),
215215
grid(),
216-
rx.hstack(
216+
rx.el.div(
217217
rx.el.h3(title, class_name="font-semibold text-slate-12 text-2xl"),
218218
(
219219
rx.badge(
220220
price,
221221
color_scheme="violet",
222222
size="3",
223-
class_name="font-medium text-lg",
223+
class_name="font-medium 2xl:text-lg text-base w-fit",
224224
)
225225
if price
226226
else rx.fragment()
227227
),
228-
class_name="flex items-center mb-2 gap-4",
228+
class_name="flex 2xl:items-center mb-2 2xl:gap-4 gap-2 2xl:flex-row flex-col",
229229
),
230230
rx.el.p(description, class_name="text-sm font-medium text-slate-9 mb-8"),
231231
rx.el.ul(

0 commit comments

Comments
 (0)