Skip to content

Commit

Permalink
Make footnote a larger target
Browse files Browse the repository at this point in the history
  • Loading branch information
henrik committed Jul 11, 2020
1 parent b04c32e commit e9301bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/site/_includes/css/tailwind.css
Expand Up @@ -264,6 +264,11 @@ hr {
margin-bottom: 30px;
}

.footnote-link {
/* Bigger target. */
padding: 0 5px;
}

.truncated { @apply text-gray-500; }

@tailwind components;
Expand Down
Expand Up @@ -5,7 +5,7 @@ tags:
- Phoenix LiveView
---

[Phoenix LiveView](https://github.com/phoenixframework/phoenix_live_view) distinguishes itself from other "server-side reactive" frameworks[¹](#footnote) by automatically sending minimal diffs over the wire. (That is to say, over a WebSocket.)
[Phoenix LiveView](https://github.com/phoenixframework/phoenix_live_view) distinguishes itself from other "server-side reactive" frameworks<a href="#footnote" class="footnote-link">¹</a> by automatically sending minimal diffs over the wire. (That is to say, over a WebSocket.)

Well, mostly automatically. The size of those diffs is affected by how you write your app.

Expand Down

0 comments on commit e9301bc

Please sign in to comment.