diff --git a/src/web/assets/style.css b/src/web/assets/style.css index a18532d..41abd4a 100644 --- a/src/web/assets/style.css +++ b/src/web/assets/style.css @@ -13,6 +13,7 @@ body { /* enough space for the infobox */ max-width: 73.5rem; margin: 0 auto; + word-break: break-word; } main { max-width: 40rem; diff --git a/src/web/search.rs b/src/web/search.rs index 66413bd..93de319 100644 --- a/src/web/search.rs +++ b/src/web/search.rs @@ -102,7 +102,6 @@ fn render_results(response: Response) -> String { engines_html = render_engine_list(&[infobox.engine]) )); } - if let Some(answer) = &response.answer { html.push_str(&format!( r#"