Merge pull request 'devel' (#151) from devel into main
Reviewed-on: #151
This commit is contained in:
commit
6028fc1794
4 changed files with 6 additions and 6 deletions
|
@ -247,7 +247,7 @@ defmodule ChiyaWeb.CoreComponents do
|
|||
"""
|
||||
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 :class, :string, default: "shadow rounded mt-10 bg-white dark:bg-gray-900"
|
||||
attr :class, :string, default: "mt-10"
|
||||
|
||||
attr :rest, :global,
|
||||
include: ~w(autocomplete name rel action enctype method novalidate target multipart),
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<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>
|
||||
<ul class="flex gap-3">
|
||||
<li>
|
||||
|
|
|
@ -59,7 +59,7 @@ defmodule ChiyaWeb.PublicComponents do
|
|||
|
||||
def divider(assigns) do
|
||||
~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 %>
|
||||
</div>
|
||||
"""
|
||||
|
|
|
@ -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">
|
||||
<%= @settings.title %>
|
||||
</h1>
|
||||
|
@ -7,7 +7,7 @@
|
|||
</p>
|
||||
</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">
|
||||
<li>
|
||||
<a
|
||||
|
@ -31,7 +31,7 @@
|
|||
</section>
|
||||
|
||||
<%= 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} />
|
||||
</section>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue