diff --git a/html/search-web.ejs b/html/search-web.ejs index d3f5d89c..c352c341 100644 --- a/html/search-web.ejs +++ b/html/search-web.ejs @@ -134,7 +134,19 @@ summary:hover{ font-family: ubuntu, sans-serif; } - +.search-result{ + color: white; + width: 52em; + display: block; + white-space: -moz-pre-wrap !important; + white-space: -pre-wrap; + white-space: -o-pre-wrap; + white-space: pre-wrap; + word-wrap: break-word; + white-space: -webkit-pre-wrap; + word-break: break-all; + white-space: normal; + } .hide { display: none; } @@ -445,17 +457,17 @@ Web
<% results.forEach(x => { %> -
+
- <%= x.title %>
-

<%= x.href %>
+ <%= x.title %>
+

<%= x.url %>
<% if (!isMobile) { %> - <%= x.body %> + <%- x.description %> <% } %> <% if (isMobile) { %> - - <%= x.body %> + + <%- x.description %> <% } %>