web: make empty subject line clickable
This commit is contained in:
parent
b997a61da8
commit
43471d162f
@ -196,6 +196,7 @@
|
|||||||
|
|
||||||
.search-results .row .summary {
|
.search-results .row .summary {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-results .row .subject {
|
.search-results .row .subject {
|
||||||
@ -204,6 +205,20 @@
|
|||||||
white-space: nowrap;
|
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 {
|
.search-results .row .from {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
@ -171,7 +171,7 @@ fn view_search_results(
|
|||||||
tags_chiclet(&tags, false),
|
tags_chiclet(&tags, false),
|
||||||
" ",
|
" ",
|
||||||
a![
|
a![
|
||||||
C!["has-text-light"],
|
C!["has-text-light", "text"],
|
||||||
attrs! {
|
attrs! {
|
||||||
At::Href => urls::thread(&tid)
|
At::Href => urls::thread(&tid)
|
||||||
},
|
},
|
||||||
@ -183,6 +183,7 @@ fn view_search_results(
|
|||||||
});
|
});
|
||||||
|
|
||||||
div![
|
div![
|
||||||
|
C!["search-results"],
|
||||||
search_toolbar(count, pager, show_bulk_edit),
|
search_toolbar(count, pager, show_bulk_edit),
|
||||||
table![
|
table![
|
||||||
C![
|
C![
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user