Skip to content

Commit 16c89e7

Browse files
authored
[ENG-6021] re-arrange the support header to the top section (#1392)
* re-arrange the support header to the top section * +border * syntax
1 parent 29e97ab commit 16c89e7

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

pcweb/pages/pricing/table.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
"",
7171
"",
7272
),
73-
("", "", "", "", ""),
7473
]
7574

7675

@@ -132,9 +131,9 @@
132131

133132
SUPPORT_BOOLEAN_SECTION = [
134133
("White Glove Onboarding", False, False, False, True),
134+
("", "", "", "", ""),
135135
# ... not in the notion docs
136136
# ("SLAs Available", False, False, False, True),
137-
("", "", "", "", ""),
138137
]
139138

140139
PLAN_BUTTONS = [
@@ -300,6 +299,17 @@ def table_body_oss() -> rx.Component:
300299
create_table_body(
301300
*[create_table_row(row) for row in ASTERIX_SECTION_ENTERPRISE],
302301
),
302+
rx.table.header(
303+
create_table_row_header("Support"),
304+
class_name="relative",
305+
),
306+
create_table_body(
307+
*[create_table_row(row) for row in SUPPORT_TEXT_SECTION],
308+
*[
309+
create_checkmark_row(feature, checks)
310+
for feature, *checks in SUPPORT_BOOLEAN_SECTION
311+
],
312+
),
303313
class_name="w-full overflow-x-auto max-w-[69.125rem] -mt-[2rem]",
304314
)
305315

@@ -353,17 +363,6 @@ def table_body_hosting() -> rx.Component:
353363
for feature, *checks in SECURITY_SECTION
354364
],
355365
),
356-
rx.table.header(
357-
create_table_row_header("Support"),
358-
class_name="relative",
359-
),
360-
create_table_body(
361-
*[create_table_row(row) for row in SUPPORT_TEXT_SECTION],
362-
*[
363-
create_checkmark_row(feature, checks)
364-
for feature, *checks in SUPPORT_BOOLEAN_SECTION
365-
],
366-
),
367366
class_name="w-full overflow-x-auto max-w-[69.125rem] -mt-[2rem]",
368367
)
369368

0 commit comments

Comments
 (0)