Skip to content

Commit

Permalink
Fix link focus inside prose component
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed May 28, 2024
1 parent dc599f2 commit d83419c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/tailwind/prose.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%# TODO: Ensure that the heading styling matches up with the standard styling elsewhere %>
<div class="prose prose-2xl prose-pre:bg-light-grey prose-pre:text-navy prose-pre:rounded-none prose-td:border-2 prose-td:border-white prose-td:bg-light-grey prose-td:px-4 prose-th:px-4 prose-th:py-3 prose-th:text-white prose-th:bg-navy prose-th:whitespace-nowrap max-w-none prose-h3:font-sans prose-h3:text-2xl prose-h3:font-bold prose-h2:font-display prose-h2:text-3xl prose-h2:font-bold prose-a:underline prose-a:font-bold prose-a:text-fuchsia hover:prose-a:text-fuchsia-darker focus:prose-a:bg-sun-yellow prose-h1:text-4xl prose-h1:font-display prose-h1:font-bold">
<div class="prose prose-2xl prose-pre:bg-light-grey prose-pre:text-navy prose-pre:rounded-none prose-td:border-2 prose-td:border-white prose-td:bg-light-grey prose-td:px-4 prose-th:px-4 prose-th:py-3 prose-th:text-white prose-th:bg-navy prose-th:whitespace-nowrap max-w-none prose-h3:font-sans prose-h3:text-2xl prose-h3:font-bold prose-h2:font-display prose-h2:text-3xl prose-h2:font-bold prose-a:underline prose-a:font-bold prose-a:text-fuchsia hover:prose-a:text-fuchsia-darker focus:prose-a:outline-none focus:prose-a:bg-sun-yellow prose-h1:text-4xl prose-h1:font-display prose-h1:font-bold">
<%= content %>
</div>

0 comments on commit d83419c

Please sign in to comment.