mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Normalize desktop icon sizing (#999)
This commit is contained in:
@@ -258,7 +258,7 @@ export function RepoBlobPage() {
|
||||
<BackLink repoId={repoId} />
|
||||
|
||||
<div className="mt-4 flex flex-wrap items-center gap-3">
|
||||
<FileText className="h-5 w-5 text-muted-foreground" />
|
||||
<FileText className="h-4 w-4 text-muted-foreground" />
|
||||
<h1 className="min-w-0 truncate font-mono text-sm">{filepath}</h1>
|
||||
<div className="ml-auto flex items-center gap-2">
|
||||
{view &&
|
||||
|
||||
@@ -22,12 +22,12 @@ export function RepoRefsSection({
|
||||
<>
|
||||
<div className="flex items-center gap-1.5">
|
||||
<Badge variant="secondary">
|
||||
<GitBranch className="mr-1 h-3 w-3" />
|
||||
<GitBranch className="mr-1 h-4 w-4" />
|
||||
{refs.head.ref}
|
||||
</Badge>
|
||||
{refs.head.sha && (
|
||||
<Badge variant="outline" className="font-mono text-xs">
|
||||
<Hash className="mr-0.5 h-3 w-3" />
|
||||
<Hash className="mr-0.5 h-4 w-4" />
|
||||
{refs.head.sha.slice(0, 7)}
|
||||
</Badge>
|
||||
)}
|
||||
@@ -36,13 +36,13 @@ export function RepoRefsSection({
|
||||
</>
|
||||
)}
|
||||
<span className="flex items-center gap-1">
|
||||
<GitBranch className="h-3.5 w-3.5" />
|
||||
<GitBranch className="h-4 w-4" />
|
||||
{refs.branches.length}{" "}
|
||||
{refs.branches.length === 1 ? "branch" : "branches"}
|
||||
</span>
|
||||
<span className="text-muted-foreground/60">·</span>
|
||||
<span className="flex items-center gap-1">
|
||||
<Tag className="h-3.5 w-3.5" />
|
||||
<Tag className="h-4 w-4" />
|
||||
{refs.tags.length} {refs.tags.length === 1 ? "tag" : "tags"}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -104,7 +104,7 @@ export function ReposPage() {
|
||||
<div className="flex w-full gap-8 px-4 py-8">
|
||||
<div className="min-w-0 flex-1">
|
||||
<h2 className="mb-4 flex items-center gap-2 text-lg font-semibold">
|
||||
<BookMarked className="h-5 w-5" /> Repositories
|
||||
<BookMarked className="h-4 w-4" /> Repositories
|
||||
</h2>
|
||||
<div className="divide-y">
|
||||
{["a", "b", "c", "d", "e"].map((key) => (
|
||||
@@ -131,7 +131,7 @@ export function ReposPage() {
|
||||
</div>
|
||||
|
||||
<h2 className="mb-4 flex items-center gap-2 text-lg font-semibold">
|
||||
<BookMarked className="h-5 w-5" /> Repositories
|
||||
<BookMarked className="h-4 w-4" /> Repositories
|
||||
</h2>
|
||||
|
||||
{/* Search + Sort bar */}
|
||||
|
||||
Reference in New Issue
Block a user