mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-10 15:56:03 +00:00
Merge pull request #2209 from sheetung/fix/sidebar-menu-cursor-webui
Fix/sidebar menu cursor webui
This commit is contained in:
@@ -338,7 +338,9 @@ function NavItems({
|
|||||||
tooltip={config.name}
|
tooltip={config.name}
|
||||||
>
|
>
|
||||||
{config.icon}
|
{config.icon}
|
||||||
<span>{config.name}</span>
|
<span className="cursor-pointer select-none">
|
||||||
|
{config.name}
|
||||||
|
</span>
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
</SidebarMenuItem>
|
</SidebarMenuItem>
|
||||||
);
|
);
|
||||||
@@ -728,7 +730,9 @@ function NavItems({
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{config.icon}
|
{config.icon}
|
||||||
<span>{config.name}</span>
|
<span className="cursor-pointer select-none">
|
||||||
|
{config.name}
|
||||||
|
</span>
|
||||||
<div className="ml-auto flex items-center gap-0.5 -mr-1">
|
<div className="ml-auto flex items-center gap-0.5 -mr-1">
|
||||||
{canCreate &&
|
{canCreate &&
|
||||||
(isPlugin ? (
|
(isPlugin ? (
|
||||||
@@ -1108,7 +1112,7 @@ function PluginPagesNav() {
|
|||||||
className="select-none"
|
className="select-none"
|
||||||
>
|
>
|
||||||
{pluginIcon}
|
{pluginIcon}
|
||||||
<span>{page.name}</span>
|
<span className="cursor-pointer">{page.name}</span>
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
</SidebarMenuItem>
|
</SidebarMenuItem>
|
||||||
);
|
);
|
||||||
@@ -1128,7 +1132,7 @@ function PluginPagesNav() {
|
|||||||
className="select-none"
|
className="select-none"
|
||||||
>
|
>
|
||||||
{pluginIcon}
|
{pluginIcon}
|
||||||
<span>{label}</span>
|
<span className="cursor-pointer">{label}</span>
|
||||||
<ChevronRight className="ml-auto size-4 transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" />
|
<ChevronRight className="ml-auto size-4 transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" />
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
</CollapsibleTrigger>
|
</CollapsibleTrigger>
|
||||||
@@ -1144,7 +1148,9 @@ function PluginPagesNav() {
|
|||||||
onClick={() => navigate(route)}
|
onClick={() => navigate(route)}
|
||||||
className="select-none"
|
className="select-none"
|
||||||
>
|
>
|
||||||
<span>{page.name}</span>
|
<span className="cursor-pointer">
|
||||||
|
{page.name}
|
||||||
|
</span>
|
||||||
</SidebarMenuSubButton>
|
</SidebarMenuSubButton>
|
||||||
</SidebarMenuSubItem>
|
</SidebarMenuSubItem>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user