diff --git a/web/index.html b/web/index.html index 689a454..e110993 100644 --- a/web/index.html +++ b/web/index.html @@ -196,6 +196,7 @@ .search-results .row .summary { min-width: 0; + width: 100%; } .search-results .row .subject { @@ -204,6 +205,20 @@ white-space: nowrap; } + .search-results .subject { + display: flex; + } + + .search-results .subject .tag {} + + .search-results .subject .text { + padding-left: 0.5rem; + width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .search-results .row .from { overflow: hidden; text-overflow: ellipsis; diff --git a/web/src/view/mod.rs b/web/src/view/mod.rs index c7eb00e..1ae881c 100644 --- a/web/src/view/mod.rs +++ b/web/src/view/mod.rs @@ -171,7 +171,7 @@ fn view_search_results( tags_chiclet(&tags, false), " ", a![ - C!["has-text-light"], + C!["has-text-light", "text"], attrs! { At::Href => urls::thread(&tid) }, @@ -183,6 +183,7 @@ fn view_search_results( }); div![ + C!["search-results"], search_toolbar(count, pager, show_bulk_edit), table![ C![