mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30: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" />
|
<component :is="headerComponent" />
|
||||||
</div>
|
</div>
|
||||||
|
<div :class="{ 'w-full flex justify-end pb-3': menuOpen }">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="flex items-center h-5 w-5 rounded-md sm:hidden"
|
class="flex items-center h-5 w-5 rounded-md sm:hidden"
|
||||||
@@ -56,4 +57,5 @@ const toggleMenu = () => {
|
|||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
Reference in new issue
Block a user