web: make empty subject line clickable

This commit is contained in:
Bill Thiede 2024-02-26 11:01:20 -08:00
parent b997a61da8
commit 43471d162f
2 changed files with 17 additions and 1 deletions

View File

@ -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;

View File

@ -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![