tg app fix sizes
This commit is contained in:
@@ -21,9 +21,9 @@ const isSpaceSelected = computed(
|
||||
);
|
||||
|
||||
const menu = [
|
||||
{ name: "Dashboard", icon: "pi pi-chart-bar", link: "/" },
|
||||
{ name: "Transactions", icon: "pi pi-cog", link: "/transactions" },
|
||||
{ name: "Settings", icon: "pi pi-list", link: "/settings" },
|
||||
{ name: "Dashboard", icon: "pi pi-chart-bar", link: "/", navStack: 'dashboard' },
|
||||
{ name: "Transactions", icon: "pi pi-cog", link: "/transactions", navStack: 'transactions' },
|
||||
{ name: "Settings", icon: "pi pi-list", link: "/settings", navStack: 'settings' },
|
||||
];
|
||||
|
||||
function spaceSelected() {
|
||||
@@ -118,7 +118,7 @@ onBeforeUnmount(() => {
|
||||
:key="item.link"
|
||||
:to="item.link"
|
||||
class="flex w-fit h-full flex-col items-center gap-2 !py-2 !px-4"
|
||||
:class="route.path == item.link ? 'bg-green-100 rounded-2xl ' : ''"
|
||||
:class="route.meta.navStack === item.navStack ? 'bg-green-100 rounded-2xl ' : ''"
|
||||
>
|
||||
<i class="!text-lg" :class="item.icon" />
|
||||
<span class="font-medium text-gray-900">{{ item.name }}</span>
|
||||
|
||||
Reference in New Issue
Block a user