Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pcweb/pages/templates/template_details/views/sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ def requirements() -> rx.Component:
rx.foreach(
TemplatesState.active_template.requirements,
lambda requirement: rx.el.div(
ui.icon("ArrowRight02Icon", class_name="text-primary-10 mt-1"),
ui.icon(
"ArrowRight02Icon", class_name="text-primary-10 mt-1 shrink-0"
),
rx.el.span(
requirement,
class_name="text-sm font-medium text-secondary-12",
Expand All @@ -112,7 +114,7 @@ def key_features() -> rx.Component:
rx.foreach(
TemplatesState.active_template.key_features,
lambda feature: rx.el.div(
ui.icon("Tick02Icon", class_name="text-primary-10 mt-1"),
ui.icon("Tick02Icon", class_name="text-primary-10 mt-1 shrink-0"),
rx.el.span(
feature,
class_name="text-sm font-medium text-secondary-12",
Expand Down
4 changes: 2 additions & 2 deletions pcweb/pages/templates/views/templates_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def image_text_placeholder() -> rx.Component:
return rx.el.div(
rx.el.div(
rx.image(
src=f"{REFLEX_ASSETS_CDN}/logos/{rx.color_mode_cond(light='light', dark='dark')}/reflex.svg",
src=f"{REFLEX_ASSETS_CDN.strip('/')}/logos/{rx.color_mode_cond(light='light', dark='dark')}/reflex.svg",
class_name="h-3.5 lg:h-5 w-auto opacity-70 dark:opacity-85 group-hover:scale-105 duration-200 ease-out",
alt="Logo",
),
Expand Down Expand Up @@ -100,7 +100,7 @@ def template_card(template: Template) -> rx.Component:
),
rx.el.span(
template.description,
class_name="text-secondary-10 text-sm font-medium mb-4",
class_name="text-secondary-10 text-sm font-medium mb-4 line-clamp-3",
),
rx.el.div(
rx.foreach(
Expand Down
Loading