fix PopUpNav
This commit is contained in:
@@ -3210,7 +3210,7 @@
|
||||
},
|
||||
getShowNavBarLg() {
|
||||
if (screen.width >= 1024) {
|
||||
return this.showNavBar = true;
|
||||
this.showNavBar = true;
|
||||
}
|
||||
return this.showNavBar;
|
||||
}
|
||||
@@ -3224,7 +3224,7 @@
|
||||
closeShowPopupNav() {
|
||||
this.showPopupNav = false;
|
||||
},
|
||||
getShowPopupNavLg() {
|
||||
getNotShowPopupNavLg() {
|
||||
if (screen.width < 1024) {
|
||||
this.showPopupNav = true;
|
||||
}
|
||||
@@ -3234,6 +3234,7 @@
|
||||
if (screen.width >= 1024) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("search", () => ({
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<a class="rounded-r" href="{% url 'authentications:logout' %}?next={{ request.path }}"><i class="fa-solid fa-power-off"></i></a>
|
||||
</div>
|
||||
<div class="navbar-subcontentList"
|
||||
x-show="getShowPopupNavLg"
|
||||
x-show="getNotShowPopupNavLg"
|
||||
x-transition:enter="transition ease-out duration-300"
|
||||
x-transition:enter-start="transform origin-top opacity-0 scale-95"
|
||||
x-transition:enter-end="transform origin-top opacity-100 scale-100"
|
||||
|
||||
Reference in New Issue
Block a user