mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
modify menu position while open
This commit is contained in:
1 parent
385c6bc110
commit
8e7b5f2552
1 file changed
+2
@@ -43,6 +43,7 @@ const toggleMenu = () => {
|
||||
>
|
||||
<component :is="headerComponent" />
|
||||
</div>
|
||||
<div :class="{ 'w-full flex justify-end pb-3': menuOpen }">
|
||||
<button
|
||||
type="button"
|
||||
class="flex items-center h-5 w-5 rounded-md sm:hidden"
|
||||
@@ -56,4 +57,5 @@ const toggleMenu = () => {
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user