feat: several improvements in layout
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
<div class="mb-16"
|
||||
<div class="my-16"
|
||||
id="myep"
|
||||
hx-boost="true"
|
||||
hx-indicator="#loading-indicator">
|
||||
<div class="relative z-20 flex items-center justify-between pb-4">
|
||||
<div class="fixed inset-x-0 top-0 z-20 flex items-center justify-between pb-4">
|
||||
{% if is_granted('ROLE_USER') %}
|
||||
<nav class="w-full bg-zinc-100 flex items-center mb-8 relative">
|
||||
<nav class="w-full bg-zinc-200 flex items-center mb-8 relative">
|
||||
<div class="flex-1 block text-2xl px-4">My E&P</div>
|
||||
<div class="bg-zinc-50 shadow w-full lg:w-auto absolute lg:relative z-10 lg:z-auto top-full lg:top-auto left-0 lg:shadow-none lg:flex lg:space-x-4">
|
||||
<div class="lg:flex lg:items-center m-0">
|
||||
{{ knp_menu_render(knp_menu_get('main')) }}
|
||||
</div>
|
||||
<div class="bg-zinc-200">
|
||||
{{ knp_menu_render(knp_menu_get('main')) }}
|
||||
</div>
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user