mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
fix(webui): fix prettier formatting for span with className
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -338,7 +338,9 @@ function NavItems({
|
|||||||
tooltip={config.name}
|
tooltip={config.name}
|
||||||
>
|
>
|
||||||
{config.icon}
|
{config.icon}
|
||||||
<span className="cursor-pointer select-none">{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 className="cursor-pointer select-none">{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 ? (
|
||||||
@@ -1144,7 +1148,9 @@ function PluginPagesNav() {
|
|||||||
onClick={() => navigate(route)}
|
onClick={() => navigate(route)}
|
||||||
className="select-none"
|
className="select-none"
|
||||||
>
|
>
|
||||||
<span className="cursor-pointer">{page.name}</span>
|
<span className="cursor-pointer">
|
||||||
|
{page.name}
|
||||||
|
</span>
|
||||||
</SidebarMenuSubButton>
|
</SidebarMenuSubButton>
|
||||||
</SidebarMenuSubItem>
|
</SidebarMenuSubItem>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user