Compare commits

..

1 commit

Author SHA1 Message Date
51ee25b9fb Update dependency flop_phoenix to ~> 0.22.0
Some checks failed
renovate/artifacts Artifact file update failure
2023-09-26 08:00:35 +02:00
4 changed files with 6 additions and 19 deletions

View file

@ -40,19 +40,6 @@
:root[data-mode=dark] .prose {
@apply prose-invert;
}
/* https://stackoverflow.com/questions/5379752/css-style-external-links */
a[href]:not(:where(
/* exclude hash only links */
[href^="#"],
/* exclude relative but not double slash only links */
[href^="/"]:not([href^="//"]),
/* domains to exclude */
[href*="//inhji.de"],
/* subdomains to exclude */
[href*="//cloud.inhji.de"],
)):after {
content: '↬';
}
/*

View file

@ -72,7 +72,7 @@ defmodule Chiya.Notes.Note do
end
def note_path_admin(note) do
~p"/admin/notes/#{note.id}"
~p"/admin/notes/#{note.slug}"
end
def note_url(note) do

View file

@ -43,14 +43,14 @@
<aside class="prose max-w-none">
<%= if has_outline?(@note) do %>
<h3><.icon name="hero-rectangle-stack" /> Outline</h3>
<h3>Outline</h3>
<section>
<%= raw(render_outline(@note)) %>
</section>
<% end %>
<h3><.icon name="hero-rectangle-group" /> Properties</h3>
<h3>Properties</h3>
<section>
<ul>
@ -82,7 +82,7 @@
<% end %>
<%= if not Enum.empty?(@note.links_to) do %>
<h3><.icon name="hero-arrow-down-on-square" /> Notes linking here</h3>
<h3>Notes linking here</h3>
<section>
<ul>
<%= for link <- @note.links_to do %>
@ -92,7 +92,7 @@
</section>
<% end %>
<h3><.icon name="hero-wrench-screwdriver" /> Admin</h3>
<h3>Admin</h3>
<section>
<ul>

View file

@ -42,7 +42,7 @@ defmodule Chiya.MixProject do
{:finch, "~> 0.16"},
{:floki, ">= 0.30.0", only: :test},
{:flop, "~> 0.22.1"},
{:flop_phoenix, "~> 0.21.1"},
{:flop_phoenix, "~> 0.22.0"},
{:gettext, "~> 0.23"},
{:jason, "~> 1.2"},
{:oban, "~> 2.14"},