mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
console/frontend: do not use ui-open/ui-not-open either
Some checks are pending
CI / 🤖 Check dependabot status (push) Waiting to run
CI / 🐧 Build and test on Linux (push) Blocked by required conditions
CI / 🍏 Build and test on macOS (push) Blocked by required conditions
CI / 🔍 Upload code coverage (push) Blocked by required conditions
CI / 🔭 Build Go backend (1.24) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (18) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (20) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (22) (push) Blocked by required conditions
CI / ⚖️ Check licenses (push) Waiting to run
CI / 🐋 Build Docker images (push) Blocked by required conditions
CI / 🚀 Publish release (push) Blocked by required conditions
Some checks are pending
CI / 🤖 Check dependabot status (push) Waiting to run
CI / 🐧 Build and test on Linux (push) Blocked by required conditions
CI / 🍏 Build and test on macOS (push) Blocked by required conditions
CI / 🔍 Upload code coverage (push) Blocked by required conditions
CI / 🔭 Build Go backend (1.24) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (18) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (20) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (22) (push) Blocked by required conditions
CI / ⚖️ Check licenses (push) Waiting to run
CI / 🐋 Build Docker images (push) Blocked by required conditions
CI / 🚀 Publish release (push) Blocked by required conditions
We may run into a similar bug than for ui-not-selected.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
<template>
|
||||
<Disclosure
|
||||
v-slot="{ open }"
|
||||
as="nav"
|
||||
class="z-40 w-full border-gray-200 bg-linear-to-r from-blue-100 to-indigo-200 px-2 py-2.5 shadow dark:from-gray-800 dark:to-gray-600 dark:shadow-white/10 sm:px-4"
|
||||
>
|
||||
@@ -29,13 +30,17 @@
|
||||
class="ml-3 inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-300 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-blue-800 md:hidden"
|
||||
>
|
||||
<span class="sr-only">Open main menu</span>
|
||||
<MenuIcon class="h-6 w-6 ui-open:hidden" />
|
||||
<XIcon class="h-6 w-6 ui-not-open:hidden" />
|
||||
<MenuIcon class="h-6 w-6" :class="{ hidden: open }" />
|
||||
<XIcon class="h-6 w-6" :class="{ hidden: !open }" />
|
||||
</DisclosureButton>
|
||||
</div>
|
||||
<DisclosurePanel
|
||||
static
|
||||
class="w-full items-center justify-between ui-open:block ui-not-open:hidden md:order-1 md:block md:w-auto ui-not-open:md:block"
|
||||
class="w-full items-center justify-between md:order-1 md:block md:w-auto"
|
||||
:class="{
|
||||
block: open,
|
||||
'hidden md:block': !open,
|
||||
}"
|
||||
>
|
||||
<ul
|
||||
class="mt-4 flex flex-col md:mt-0 md:flex-row md:space-x-8 md:text-sm md:font-medium"
|
||||
|
||||
Reference in New Issue
Block a user