Merge pull request 'devel' (#151) from devel into main

Reviewed-on: #151
This commit is contained in:
inhji 2023-06-28 16:15:27 +02:00
commit 6028fc1794
4 changed files with 6 additions and 6 deletions

View file

@ -247,7 +247,7 @@ defmodule ChiyaWeb.CoreComponents do
""" """
attr :for, :any, required: true, doc: "the datastructure for the form" attr :for, :any, required: true, doc: "the datastructure for the form"
attr :as, :any, default: nil, doc: "the server side parameter to collect all input under" attr :as, :any, default: nil, doc: "the server side parameter to collect all input under"
attr :class, :string, default: "shadow rounded mt-10 bg-white dark:bg-gray-900" attr :class, :string, default: "mt-10"
attr :rest, :global, attr :rest, :global,
include: ~w(autocomplete name rel action enctype method novalidate target multipart), include: ~w(autocomplete name rel action enctype method novalidate target multipart),

View file

@ -35,7 +35,7 @@
</style> </style>
</head> </head>
<body class="bg-theme-background mx-3 md:mx-0"> <body class="bg-theme-background mx-3 md:mx-0">
<header class="my-8 max-w-xl mx-auto block"> <header class="my-8 max-w-2xl mx-auto block">
<nav> <nav>
<ul class="flex gap-3"> <ul class="flex gap-3">
<li> <li>

View file

@ -59,7 +59,7 @@ defmodule ChiyaWeb.PublicComponents do
def divider(assigns) do def divider(assigns) do
~H""" ~H"""
<div class="flex items-center my-8 text-theme-base/75 before:flex-1 after:flex-1 before:content-[''] after:content-[''] before:p-[0.5px] after:p-[0.5px] before:bg-theme-base/25 after:bg-theme-base/25 w-full mx-auto last:hidden"> <div class="flex items-center my-8 text-theme-primary before:flex-1 after:flex-1 before:content-[''] after:content-[''] before:p-[0.5px] after:p-[0.5px] before:bg-theme-base/25 after:bg-theme-base/25 w-full mx-auto last:hidden">
<%= assigns.text %> <%= assigns.text %>
</div> </div>
""" """

View file

@ -1,4 +1,4 @@
<section class="mx-auto max-w-xl p-10 bg-theme-background1"> <section class="mx-auto max-w-2xl p-10 bg-theme-background1">
<h1 class="text-3xl font-extrabold leading-10 tracking-tight text-theme-primary"> <h1 class="text-3xl font-extrabold leading-10 tracking-tight text-theme-primary">
<%= @settings.title %> <%= @settings.title %>
</h1> </h1>
@ -7,7 +7,7 @@
</p> </p>
</section> </section>
<section class="mx-auto max-w-xl text-sm my-8"> <section class="mx-auto max-w-2xl text-sm my-8">
<ul class="flex flex-wrap gap-3"> <ul class="flex flex-wrap gap-3">
<li> <li>
<a <a
@ -31,7 +31,7 @@
</section> </section>
<%= if @channel do %> <%= if @channel do %>
<section class="mx-auto max-w-xl mt-8 border-t border-theme-background1"> <section class="mx-auto max-2w-xl mt-8 border-t border-theme-background1">
<.note_list notes={@channel.notes} layout={@channel.layout} /> <.note_list notes={@channel.notes} layout={@channel.layout} />
</section> </section>
<% end %> <% end %>