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

This commit is contained in:
inhji 2023-07-07 12:02:47 +02:00
parent bc751dc603
commit 68c6ddcced

View file

@ -3,7 +3,13 @@
</.header> </.header>
<%= if @channel do %> <%= if @channel do %>
<div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5"> <section class="flex flex-col md:col-row">
<.note_list notes={@channel.notes} layout={@channel.layout} /> <div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<.note_list notes={@notes_updated} layout={@channel.layout} />
</div> </div>
<div class="w-full mt-6 sm:w-auto flex flex-1 flex-col gap-1.5">
<.note_list notes={@notes_published} layout={@channel.layout} />
</div>
</section>
<% end %> <% end %>