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-left: .5em;
padding-right: .5em; padding-right: .5em;
} }
.float-right {
float: right;
}
</style> </style>
</head> </head>

View File

@ -510,11 +510,11 @@ fn view_mobile_search_results(query: &str, search_results: &shared::SearchResult
&r.subject, &r.subject,
ev(Ev::Click, move |_| Msg::ShowPrettyRequest(tid)), ev(Ev::Click, move |_| Msg::ShowPrettyRequest(tid)),
], ],
span![C!["from", "is-size-7"], pretty_authors(&r.authors)],
div![ div![
span![C!["from", "is-size-7"], pretty_authors(&r.authors)], span![C!["is-size-7"], tags_chiclet(&r.tags, true)],
span![C!["tags", "is-size-7"], tags_chiclet(&r.tags, true)], span![C!["is-size-7", "float-right", "date"], &r.date_relative]
], ]
span![C!["date"], &r.date_relative],
] ]
}); });
let first = search_results.page * search_results.results_per_page; let first = search_results.page * search_results.results_per_page;
@ -620,11 +620,11 @@ fn view_thread(thread_set: &ThreadSet) -> Node<Msg> {
"Original" "Original"
], ],
/* /*
div![ div![
C!["debug"], C!["debug"],
"Add zippy for debug dump", "Add zippy for debug dump",
view_debug_thread_set(thread_set) view_debug_thread_set(thread_set)
] /* pre![format!("Thread: {:#?}", thread_set).replace(" ", " ")] */ ] /* pre![format!("Thread: {:#?}", thread_set).replace(" ", " ")] */
*/ */
] ]
} }