desktop: quieter workspace tab strip

Tab labels drop from text-base to text-sm and the overview tab no longer
shows the readme's last-changed timestamp.

Signed-off-by: Thomas Petersen <thomasp@squareup.com>
This commit is contained in:
Thomas Petersen
2026-08-11 23:51:19 -04:00
parent 8b3bbadc10
commit 5c9dded8c8
2 changed files with 2 additions and 10 deletions
@@ -5,7 +5,7 @@ import { cn } from "@/shared/lib/cn";
import { TabsList, TabsTrigger } from "@/shared/ui/tabs";
const PROJECT_TAB_TRIGGER_CLASS =
"relative h-full shrink-0 rounded-none px-2.5 text-base leading-5 tracking-tight text-muted-foreground shadow-none after:absolute after:inset-x-2.5 after:bottom-0 after:h-0.5 after:bg-current after:opacity-0 after:transition-opacity after:content-[''] hover:bg-transparent hover:text-foreground hover:after:opacity-100 data-[state=active]:bg-transparent data-[state=active]:font-semibold data-[state=active]:text-foreground data-[state=active]:shadow-none data-[state=active]:after:opacity-100";
"relative h-full shrink-0 rounded-none px-2.5 text-sm leading-5 tracking-tight text-muted-foreground shadow-none after:absolute after:inset-x-2.5 after:bottom-0 after:h-0.5 after:bg-current after:opacity-0 after:transition-opacity after:content-[''] hover:bg-transparent hover:text-foreground hover:after:opacity-100 data-[state=active]:bg-transparent data-[state=active]:font-semibold data-[state=active]:text-foreground data-[state=active]:shadow-none data-[state=active]:after:opacity-100";
const PROJECT_TAB_SELECTED_CLASS =
"font-semibold text-foreground after:opacity-100";
@@ -27,10 +27,7 @@ import { cn } from "@/shared/lib/cn";
import { Button } from "@/shared/ui/button";
import { Tabs, TabsContent } from "@/shared/ui/tabs";
import { findReadmeFile } from "./ProjectReadmePanel";
import {
formatLastChangedAt,
RepositoryFilesPanel,
} from "./ProjectRepositoryPanel";
import { RepositoryFilesPanel } from "./ProjectRepositoryPanel";
import {
type RepoSourceHeaderControls,
RepoSourceDropdown,
@@ -406,11 +403,6 @@ export function WorkspaceTabs({
{updatePullRequestAction.pending ? "Updating…" : "Update PR"}
</Button>
) : null}
{selectedTab === "overview" && readmeFile ? (
<span className="ml-auto hidden shrink-0 pr-2 text-2xs text-muted-foreground sm:block">
Last changed {formatLastChangedAt(readmeFile.lastChangedAt)}
</span>
) : null}
</div>
) : null}
{selectedPullRequest ? (