UX: gives each info its own line in search-menu-results (#7825)

This commit is contained in:
Joffrey JAFFEUX 2019-06-28 11:14:38 +02:00 committed by GitHub
parent 6c5689984f
commit 5bab4f8007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -149,8 +149,10 @@ createSearchResult({
const topic = result.topic;
const linkContent = [
this.attach("topic-status", { topic, disableActions: true }),
h("span.topic-title", new Highlighted(topic.fancyTitle, term)),
h("div.header", [
this.attach("topic-status", { topic, disableActions: true }),
h("span.topic-title", new Highlighted(topic.fancyTitle, term))
]),
this.attach("category-link", {
category: topic.category,
link: false

View File

@ -52,6 +52,7 @@
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
margin-top: 0.25em;
}
}
}