Mobile style tweaks.

This commit is contained in:
Bill Thiede 2023-11-20 15:49:30 -08:00
parent 01589d7136
commit 95976c2860
2 changed files with 12 additions and 9 deletions

View File

@ -114,6 +114,9 @@ input::placeholder, .input::placeholder{
padding-left: .5em;
padding-right: .5em;
}
.float-right {
float: right;
}
</style>
</head>

View File

@ -510,11 +510,11 @@ fn view_mobile_search_results(query: &str, search_results: &shared::SearchResult
&r.subject,
ev(Ev::Click, move |_| Msg::ShowPrettyRequest(tid)),
],
div![
span![C!["from", "is-size-7"], pretty_authors(&r.authors)],
span![C!["tags", "is-size-7"], tags_chiclet(&r.tags, true)],
],
span![C!["date"], &r.date_relative],
div![
span![C!["is-size-7"], tags_chiclet(&r.tags, true)],
span![C!["is-size-7", "float-right", "date"], &r.date_relative]
]
]
});
let first = search_results.page * search_results.results_per_page;