tweak topbar component
This commit is contained in:
parent
bd5dd57c6c
commit
9b4837a044
@ -13,7 +13,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="pb-8 m-0 p-0 w-full h-full">
|
<body class="pb-8 m-0 p-0 w-full h-full">
|
||||||
<header>
|
<header>
|
||||||
<.topbar current_user={assigns[:current_user]}></.topbar>
|
<.topbar current_user={assigns[:current_user]} />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="pb-8 w-full flex flex-col justify-center items-center text-center">
|
<div class="pb-8 w-full flex flex-col justify-center items-center text-center">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<main role="main" class="min-h-full min-w-full">
|
<main role="main" class="min-h-full min-w-full">
|
||||||
<header>
|
<header>
|
||||||
<.topbar current_user={assigns[:current_user]}></.topbar>
|
<.topbar current_user={assigns[:current_user]} />
|
||||||
|
|
||||||
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
|
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
|
||||||
<p :if={get_flash(@conn, :info)} class="alert alert-info" role="alert">
|
<p :if={get_flash(@conn, :info)} class="alert alert-info" role="alert">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<main class="pb-8 min-w-full">
|
<main class="pb-8 min-w-full">
|
||||||
<header>
|
<header>
|
||||||
<.topbar current_user={assigns[:current_user]}></.topbar>
|
<.topbar current_user={assigns[:current_user]} />
|
||||||
|
|
||||||
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
|
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
|
||||||
<p
|
<p
|
||||||
@ -25,7 +25,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="mx-4 sm:mx-8 md:mx-16">
|
<div class="mx-4 sm:mx-8 md:mx-16 flex flex-col justify-center items-stretch">
|
||||||
<%= @inner_content %>
|
<%= @inner_content %>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user