@@ -422,7 +422,7 @@ def search_input():
422422 ],
423423 auto_focus = True ,
424424 placeholder = "Search documentation ..." ,
425- class_name = "py-2 pl-7 pr-20 w-full placeholder:text-sm text-sm rounded-lg outline-none focus:outline-none border border-secondary-a4 bg-secondary-1 text-secondary-12"
425+ class_name = "py-2 pl-7 pr-[310px] w-full placeholder:text-sm text-sm rounded-lg outline-none focus:outline-none border border-secondary-a4 bg-secondary-1 text-secondary-12"
426426 ),
427427 class_name = "w-full relative focus:outline-none" ,
428428 ),
@@ -433,8 +433,8 @@ def copy_button(url: str):
433433 return ui .button (
434434 rx .cond (
435435 last_copied .value == url ,
436- ui .icon ("CheckmarkCircle02Icon" , class_name = "size-3 " ),
437- ui .icon ("Share08Icon" , class_name = "size-3 " ),
436+ ui .icon ("CheckmarkCircle02Icon" , class_name = "size-2 " ),
437+ ui .icon ("Share08Icon" , size = 10 , class_name = "size-2 " ),
438438 ),
439439 variant = "outline" ,
440440 size = "xs" ,
@@ -478,7 +478,7 @@ def search_result_blog(value: dict):
478478 rx .text (value ["date" ]),
479479 class_name = "flex flex-row gap-x-2 items-center text-sm !text-slate-10" ,
480480 ),
481- copy_button (url = f"https://reflex.dev/ { value ['url' ].to (str )} " ),
481+ copy_button (url = f"https://reflex.dev{ value ['url' ].to (str )} " ),
482482 class_name = "flex flex-row w-full items-center justify-between pr-1"
483483 ),
484484 rx .text (value ["title" ], class_name = "text-md font-bold" ),
@@ -617,7 +617,7 @@ def typesense_search() -> rx.Component:
617617 search_content (),
618618 on_interact_outside = SimpleSearch .reset_search ,
619619 on_escape_key_down = SimpleSearch .reset_search ,
620- class_name = "w-full max-w-[640px ] mx-auto h-[57vh] bg-secondary-1 border-none outline-none p-3 lg:!fixed lg:!top-24 lg:!left-1/2 lg:!transform lg:!-translate-x-1/2 lg:!translate-y-0 lg:!m-0" ,
620+ class_name = "w-full max-w-[650px ] mx-auto h-[57vh] bg-secondary-1 border-none outline-none p-3 lg:!fixed lg:!top-24 lg:!left-1/2 lg:!transform lg:!-translate-x-1/2 lg:!translate-y-0 lg:!m-0" ,
621621 ),
622622 ),
623623 keyboard_shortcut_script (),
0 commit comments