Merge pull request '„lib/chiya_web/controllers/page_html/note.html.heex“ ändern' (#204) from devel into main

Reviewed-on: #204
This commit is contained in:
inhji 2023-07-12 14:54:07 +02:00
commit 860da3cb9a

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>