File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ def requirements() -> rx.Component:
9191 rx .foreach (
9292 TemplatesState .active_template .requirements ,
9393 lambda requirement : rx .el .div (
94- ui .icon ("ArrowRight02Icon" , class_name = "text-primary-10 mt-1" ),
94+ ui .icon (
95+ "ArrowRight02Icon" , class_name = "text-primary-10 mt-1 shrink-0"
96+ ),
9597 rx .el .span (
9698 requirement ,
9799 class_name = "text-sm font-medium text-secondary-12" ,
@@ -112,7 +114,7 @@ def key_features() -> rx.Component:
112114 rx .foreach (
113115 TemplatesState .active_template .key_features ,
114116 lambda feature : rx .el .div (
115- ui .icon ("Tick02Icon" , class_name = "text-primary-10 mt-1" ),
117+ ui .icon ("Tick02Icon" , class_name = "text-primary-10 mt-1 shrink-0 " ),
116118 rx .el .span (
117119 feature ,
118120 class_name = "text-sm font-medium text-secondary-12" ,
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def image_text_placeholder() -> rx.Component:
6565 return rx .el .div (
6666 rx .el .div (
6767 rx .image (
68- src = f"{ REFLEX_ASSETS_CDN } /logos/{ rx .color_mode_cond (light = 'light' , dark = 'dark' )} /reflex.svg" ,
68+ src = f"{ REFLEX_ASSETS_CDN . strip ( '/' ) } /logos/{ rx .color_mode_cond (light = 'light' , dark = 'dark' )} /reflex.svg" ,
6969 class_name = "h-3.5 lg:h-5 w-auto opacity-70 dark:opacity-85 group-hover:scale-105 duration-200 ease-out" ,
7070 alt = "Logo" ,
7171 ),
@@ -100,7 +100,7 @@ def template_card(template: Template) -> rx.Component:
100100 ),
101101 rx .el .span (
102102 template .description ,
103- class_name = "text-secondary-10 text-sm font-medium mb-4" ,
103+ class_name = "text-secondary-10 text-sm font-medium mb-4 line-clamp-3 " ,
104104 ),
105105 rx .el .div (
106106 rx .foreach (
You can’t perform that action at this time.
0 commit comments