[a] results count in modlist

This commit is contained in:
Sangelo 2024-06-12 13:36:30 +02:00
parent 64b6d16e3a
commit fa190f9b7d

View file

@ -82,7 +82,8 @@
{/each}
</select>
</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>
</div>
@ -159,10 +160,16 @@
}
}
.scroll-to-optional {
.results-bar {
width: 100%;
text-align: right;
display: flex;
align-items: center;
// text-align: right;
p {
margin: 0;
}
a {
margin-left: auto;
text-decoration: none;
&:hover {
text-decoration: underline;