diff --git a/frontend/style.css b/frontend/style.css index 8e087ed..92f8b69 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -142,3 +142,13 @@ a.title margin: 8px 16px; font-size: 19px; } + +.description +{ + margin-top: 4px; + font-size: 13px; + max-height: 15px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} diff --git a/frontend/templates/ui/index.tpl b/frontend/templates/ui/index.tpl index b2a5c35..823bbc1 100644 --- a/frontend/templates/ui/index.tpl +++ b/frontend/templates/ui/index.tpl @@ -43,6 +43,7 @@ var result_block = instantiateTemplate("result_topic"); result_block.children(".title").html(response[i].title); + result_block.children(".description").html(response[i].description); result_block.children(".providername").html(response[i].provider); result_block.appendTo(result_wrapper); @@ -145,6 +146,7 @@ Topic: +