Improved search header
- Highlight both channel and search query - By moving search query to topic we can ensure nice behaviour for long search queries (eg. when searching for an url)
This commit is contained in:
parent
13d4f035df
commit
1b13905195
@ -17,10 +17,10 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<SidebarToggle />
|
<SidebarToggle />
|
||||||
<span class="title"
|
<span class="title"
|
||||||
>Search results for "{{ $route.query.q }}" in
|
>Searching in
|
||||||
{{ $route.params.target }}</span
|
<span class="channel-name">{{ $route.params.target }}</span> for</span
|
||||||
>
|
>
|
||||||
<span class="topic"></span>
|
<span class="topic">{{ $route.query.q }}</span>
|
||||||
<MessageSearchForm :network="network" :channel="channel" />
|
<MessageSearchForm :network="network" :channel="channel" />
|
||||||
</div>
|
</div>
|
||||||
<div class="chat-content">
|
<div class="chat-content">
|
||||||
@ -80,6 +80,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.channel-name {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import socket from "../../js/socket";
|
import socket from "../../js/socket";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user