From bebbbb1d5ab14d32903fdfdce7edd6fb8fe3f0cd Mon Sep 17 00:00:00 2001 From: Ray C Date: Mon, 29 Apr 2024 13:10:02 +0800 Subject: [PATCH] Add dynamic router --- index.html | 14 +++++++------- src/app.js | 48 ++++++++++++++++++++++++++++++++++-------------- 2 files changed, 41 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 37a7c9c..82afd81 100644 --- a/index.html +++ b/index.html @@ -79,13 +79,13 @@ x-cloak x-show="open" x-transition.origin.top.left - class="absolute p-2 w-48 rounded-lg bg-gray-100 border border-gray-200 shadow-md" + class="absolute p-2 min-w-48 whitespace-nowrap rounded-lg bg-gray-100 border border-gray-200 shadow-md" role="menu" >