[a] results count in modlist
This commit is contained in:
parent
64b6d16e3a
commit
fa190f9b7d
1 changed files with 10 additions and 3 deletions
|
@ -82,7 +82,8 @@
|
||||||
{/each}
|
{/each}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="scroll-to-optional">
|
<div class="results-bar">
|
||||||
|
<p>Results: {search(searchQuery, mods.mods).length + search(searchQuery, mods.optional_mods).length}</p>
|
||||||
<a href="#optional-mods"><IconChevronDown size="1.2em" /> View Optional Mods</a>
|
<a href="#optional-mods"><IconChevronDown size="1.2em" /> View Optional Mods</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -159,10 +160,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.scroll-to-optional {
|
.results-bar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: right;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
// text-align: right;
|
||||||
|
p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
|
margin-left: auto;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
Loading…
Reference in a new issue