Skip to content

Commit

Permalink
Tabindex to stop Prism making pre focusable
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelacey committed Mar 30, 2023
1 parent f5a093d commit 8a16632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worf/templates/worf/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</nav>

<div class="my-4">
<pre class="w-full p-4 overflow-auto"><strong>HTTP {{ response.status_code }} {{ response.status_text }}</strong>{% for key, value in response.headers.items %}
<pre class="w-full p-4 overflow-auto" tabindex="-1"><strong>HTTP {{ response.status_code }} {{ response.status_text }}</strong>{% for key, value in response.headers.items %}
<strong>{{ key }}:</strong> {{ value }}{% endfor %}

<code class="language-json">{{ content }}</code></pre>
Expand Down

0 comments on commit 8a16632

Please sign in to comment.