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

This commit is contained in:
inhji 2023-07-12 14:17:07 +02:00
parent 7ec1388bba
commit 796b7297bb

View file

@ -3,7 +3,7 @@
<%= @note.name %>
</.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) %>
</aside>