git.fiddlerwoaroof.com
Browse code

Add focus hack to repository list

Ed Langley authored on 11/04/2019 05:47:05
Showing 1 changed files
... ...
@@ -13,6 +13,7 @@
13 13
 
14 14
     <main>
15 15
     <div class="list repository-list">
16
+      <input type="radio" tabindex="-1" autofocus style="overflow: hidden; float:left; display: block; height: 0; width: 0; margin: 0; padding: 0;position: relative; left: -100vw;"></input>
16 17
       {% for repository in repositories %}
17 18
         {% if repository.description %}
18 19
           <a class="repository" href="{{ path('repository', {repo: repository.name}) }}">