diff --git a/assets/css/app.css b/assets/css/app.css index 4c51028..ea412cd 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -104,7 +104,7 @@ .footnote:after { content: '}'; } body > header nav a { - @apply text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold; + @apply inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold; } } diff --git a/lib/chiya/notes/note.ex b/lib/chiya/notes/note.ex index c906081..eb9a8d9 100644 --- a/lib/chiya/notes/note.ex +++ b/lib/chiya/notes/note.ex @@ -4,9 +4,9 @@ defmodule Chiya.Notes.Note do alias Chiya.Notes.{Note, NoteSlug, NoteNote, NoteTag} use Phoenix.VerifiedRoutes, - endpoint: ChiyaWeb.Endpoint, - router: ChiyaWeb.Router, - statics: ChiyaWeb.static_paths() + endpoint: ChiyaWeb.Endpoint, + router: ChiyaWeb.Router, + statics: ChiyaWeb.static_paths() @reserved_slugs ~w(user admin dev api) @@ -51,7 +51,7 @@ defmodule Chiya.Notes.Note do end def note_url(note) do - URI.merge(ChiyaWeb.Endpoint.url(), ~p"/note/#{note.slug}") + URI.merge(ChiyaWeb.Endpoint.url(), ~p"/note/#{note.slug}") |> to_string() end diff --git a/lib/chiya_web/components/layouts/root_public.html.heex b/lib/chiya_web/components/layouts/root_public.html.heex index a60b564..77c083d 100644 --- a/lib/chiya_web/components/layouts/root_public.html.heex +++ b/lib/chiya_web/components/layouts/root_public.html.heex @@ -35,7 +35,7 @@ -
+