„lib/chiya_web/controllers/page_html/note.html.heex“ ändern #204

Merged
inhji merged 2 commits from devel into main 2023-07-12 14:54:08 +02:00

View file

@ -3,7 +3,7 @@
<%= @note.name %> <%= @note.name %>
</.header> </.header>
<aside class="max-w-2xl mx-auto mt-8 prose prose-gruvbox bg-theme-background1 rounded p-2"> <aside class="max-w-2xl mx-auto mt-8 prose prose-gruvbox bg-theme-background1 rounded p-2 empty:hidden">
<%= raw Enum.map(render_outline(@note), &safe_to_string/1) %> <%= raw Enum.map(render_outline(@note), &safe_to_string/1) %>
</aside> </aside>