mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-05-21 07:07:24 +02:00
Merge pull request #372
feat(ui:sidebar): smoother transition when clicking on menu items
This commit is contained in:
@@ -10,18 +10,10 @@
|
|||||||
<nav
|
<nav
|
||||||
id="sidebar"
|
id="sidebar"
|
||||||
hx-boost="true"
|
hx-boost="true"
|
||||||
|
hx-swap="transition:true"
|
||||||
data-bs-scroll="true"
|
data-bs-scroll="true"
|
||||||
class="offcanvas-lg offcanvas-start d-lg-flex flex-column position-fixed top-0 start-0 h-100 bg-body-tertiary shadow-sm tw:z-1020">
|
class="offcanvas-lg offcanvas-start d-lg-flex flex-column position-fixed top-0 start-0 h-100 bg-body-tertiary shadow-sm tw:z-1020">
|
||||||
|
|
||||||
{# <div>#}
|
|
||||||
{# <a href="{% url 'index' %}" class="d-none d-lg-flex tw:justify-start p-3 text-decoration-none sidebar-title">#}
|
|
||||||
{# <img src="{% static 'img/logo-icon.svg' %}" alt="WYGIWYH Logo" height="30" width="30" title="WYGIWYH"/>#}
|
|
||||||
{# <span class="fs-4 fw-bold ms-3">WYGIWYH</span>#}
|
|
||||||
{# </a>#}
|
|
||||||
{##}
|
|
||||||
{##}
|
|
||||||
{# </div>#}
|
|
||||||
|
|
||||||
<div class="d-none d-lg-flex tw:justify-between tw:items-center tw:border-b tw:border-gray-600 tw:lg:flex">
|
<div class="d-none d-lg-flex tw:justify-between tw:items-center tw:border-b tw:border-gray-600 tw:lg:flex">
|
||||||
<a href="{% url 'index' %}" class="m-0 d-none d-lg-flex tw:justify-start p-3 text-decoration-none sidebar-title">
|
<a href="{% url 'index' %}" class="m-0 d-none d-lg-flex tw:justify-start p-3 text-decoration-none sidebar-title">
|
||||||
<img src="{% static 'img/logo-icon.svg' %}" alt="WYGIWYH Logo" height="30" width="30" title="WYGIWYH"/>
|
<img src="{% static 'img/logo-icon.svg' %}" alt="WYGIWYH Logo" height="30" width="30" title="WYGIWYH"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user