mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-24 11:54:53 +00:00
Blur search bar on suggestion select
This commit is contained in:
parent
d26d8cb021
commit
7740623547
3 changed files with 12 additions and 8 deletions
|
@ -56,6 +56,7 @@ function getSearch() {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
search = document.querySelector('.search > input');
|
search = document.querySelector('.search > input');
|
||||||
search.value = user.toString();
|
search.value = user.toString();
|
||||||
|
search.blur();
|
||||||
}
|
}
|
||||||
hint.appendChild(el);
|
hint.appendChild(el);
|
||||||
});
|
});
|
||||||
|
|
|
@ -74,8 +74,11 @@ body
|
||||||
|
|
||||||
> tbody
|
> tbody
|
||||||
> tr
|
> tr
|
||||||
|
height: 2.75rem
|
||||||
|
vertical-align: middle
|
||||||
|
|
||||||
> th
|
> th
|
||||||
padding: 0.6rem
|
padding: 0.5rem
|
||||||
background-image: linear-gradient(to bottom, RGBA($white, 0.05), transparent)
|
background-image: linear-gradient(to bottom, RGBA($white, 0.05), transparent)
|
||||||
text-align: left
|
text-align: left
|
||||||
font-weight: bolder
|
font-weight: bolder
|
||||||
|
|
|
@ -32,11 +32,11 @@
|
||||||
<div class="table">
|
<div class="table">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Position</th>
|
<th></th>
|
||||||
<th>Player</th>
|
<th>Name</th>
|
||||||
<th>Time</th>
|
<th>Time Set</th>
|
||||||
<th>Scored at</th>
|
<th>Submitted</th>
|
||||||
<th>Version</th>
|
<!-- <th>Game</th> -->
|
||||||
</tr>
|
</tr>
|
||||||
{% for score in scores %}
|
{% for score in scores %}
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -57,8 +57,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<td>{{ score.score }}</td>
|
<td>{{ score.score }}</td>
|
||||||
<td>{{ score.scored_at }}</td>
|
<td>{{ score.scored_at.strftime('%Y-%m-%d') }}</td>
|
||||||
<td>{{ score.version }}</td>
|
<!-- <td>{{ score.version }}</td> -->
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue