chore: app sidebar section header improvement (#6564)

This commit is contained in:
Anmol Singh Bhatia 2025-02-07 02:36:33 +05:30 committed by GitHub
parent a5c2acb5f1
commit 7a6b50a6e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -193,7 +193,7 @@ export const SidebarFavoritesMenu = observer(() => {
ref={elementRef}
as="button"
className={cn(
"sticky top-0 bg-custom-sidebar-background-100 z-10 group/workspace-button w-full px-2 py-1.5 flex items-center justify-between gap-1 text-custom-sidebar-text-400 hover:bg-custom-sidebar-background-90 rounded text-xs font-semibold",
"sticky top-0 bg-custom-sidebar-background-100 z-10 group/workspace-button w-full px-2 py-1.5 flex items-center justify-between gap-1 text-custom-sidebar-text-400 hover:bg-custom-sidebar-background-90 rounded text-sm font-semibold",
{
"bg-custom-sidebar-background-80 opacity-60": isDragging,
}

View file

@ -182,7 +182,7 @@ export const SidebarProjectsList: FC = observer(() => {
{isCollapsed ? (
<Briefcase className="flex-shrink-0 size-3" />
) : (
<span className="text-xs font-semibold">{t("projects")}</span>
<span className="text-sm font-semibold">{t("projects")}</span>
)}
</>
</Tooltip>

View file

@ -51,7 +51,7 @@ export const SidebarWorkspaceMenuHeader: FC<SidebarWorkspaceMenuHeaderProps> = o
>
<Disclosure.Button
as="button"
className="flex-1 sticky top-0 z-10 w-full py-1.5 flex items-center justify-between gap-1 text-custom-sidebar-text-400 text-xs font-semibold"
className="flex-1 sticky top-0 z-10 w-full py-1.5 flex items-center justify-between gap-1 text-custom-sidebar-text-400 text-sm font-semibold"
onClick={() => toggleWorkspaceMenu(!isWorkspaceMenuOpen)}
>
<span>{t("workspace")}</span>