mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 12:44:00 +08:00
UX: move category below title in search
This commit is contained in:
parent
d11cd82ba0
commit
665c3690bb
|
@ -17,7 +17,11 @@
|
||||||
{{avatar result imageSize="tiny"}}
|
{{avatar result imageSize="tiny"}}
|
||||||
<a class='search-link' href='{{unbound result.url}}'>
|
<a class='search-link' href='{{unbound result.url}}'>
|
||||||
{{topic-status topic=result.topic disableActions=true}}<span class='topic-title'>{{unbound result.topic.title}}</span>
|
{{topic-status topic=result.topic disableActions=true}}<span class='topic-title'>{{unbound result.topic.title}}</span>
|
||||||
</a>{{category-link result.topic.category}}
|
</a>
|
||||||
|
<div class='search-category'>
|
||||||
|
{{category-link result.topic.category}}
|
||||||
|
{{plugin-outlet "full-page-search-category"}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='blurb container'>
|
<div class='blurb container'>
|
||||||
<span class='date'>
|
<span class='date'>
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
max-width: inherit;
|
max-width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-category {
|
||||||
|
margin-top: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
margin-bottom: 28px;
|
margin-bottom: 28px;
|
||||||
max-width: 675px;
|
max-width: 675px;
|
||||||
.topic {
|
.topic {
|
||||||
|
@ -26,7 +30,7 @@
|
||||||
clear: both;
|
clear: both;
|
||||||
color: scale-color($primary, $lightness: 40%);
|
color: scale-color($primary, $lightness: 40%);
|
||||||
.date {
|
.date {
|
||||||
color: scale-color($primary, $lightness: 60%);
|
color: scale-color($primary, $lightness: 40%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-highlight {
|
.search-highlight {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user