[search] better (multilined) message when there are no results
This commit is contained in:
@@ -14,10 +14,10 @@
|
|||||||
Searching for "{{this.searchQuery | threeDotsTrim}}"</div>
|
Searching for "{{this.searchQuery | threeDotsTrim}}"</div>
|
||||||
<ScriptsTree />
|
<ScriptsTree />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="search-no-matches">
|
<div v-else class="search-no-matches">
|
||||||
Sorry, no matches for "{{this.searchQuery | threeDotsTrim}}" 😞
|
<div>Sorry, no matches for "{{this.searchQuery | threeDotsTrim}}" 😞</div>
|
||||||
Feel free to extend the scripts <a :href="repositoryUrl" target="_blank" class="child github" >here</a>.
|
<div>Feel free to extend the scripts <a :href="repositoryUrl" target="_blank" class="child github" >here</a> ✨</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,6 +96,8 @@
|
|||||||
.scripts {
|
.scripts {
|
||||||
margin-top:10px;
|
margin-top:10px;
|
||||||
.search-no-matches {
|
.search-no-matches {
|
||||||
|
display:flex;
|
||||||
|
flex-direction: column;
|
||||||
word-break:break-word;
|
word-break:break-word;
|
||||||
color: $white;
|
color: $white;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
background-color: $slate;
|
background-color: $slate;
|
||||||
padding:5%;
|
padding:5%;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
> a {
|
a {
|
||||||
color: $gray;
|
color: $gray;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user