mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-06 19:58:43 +02:00
fix: center header content with symmetric padding
Use pt-3 pb-3 (12px each) for symmetric vertical padding so content is visually centered in every header bar. To keep headers draggable, each header container gets the drag-region class and all interactive elements (buttons) get the no-drag class. The global fallback drag strip is reduced to h-3. Title bar overlay reduced from 40px to 32px (standard Windows size). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -190,7 +190,7 @@ export function ActivityPanel({
|
||||
return (
|
||||
<div className="flex h-full flex-col">
|
||||
{/* Header — top padding clears the title bar overlay zone */}
|
||||
<div className="border-b border-[var(--color-border)] px-4 pb-3 pt-12">
|
||||
<div className="drag-region border-b border-[var(--color-border)] px-4 pb-3 pt-3">
|
||||
<div className="flex min-h-8 items-center gap-2">
|
||||
<Activity className="size-4 text-zinc-500" />
|
||||
<span className="text-[12px] font-semibold uppercase tracking-[0.12em] text-zinc-400">
|
||||
|
||||
Reference in New Issue
Block a user