refactor: update ScrollableOverlay structure for consistent layout across pages

This commit is contained in:
Bohdan Triapitsyn
2025-12-30 21:13:59 +02:00
parent a236dc81c9
commit 91a3496bd3
7 changed files with 33 additions and 15 deletions
@@ -156,8 +156,9 @@ export const GitIdentitiesPage: React.FC = () => {
}
return (
<ScrollableOverlay outerClassName="h-full" className="mx-auto max-w-3xl space-y-6 p-6">
{}
<ScrollableOverlay outerClassName="h-full" className="w-full">
<div className="mx-auto max-w-3xl space-y-6 p-6">
{/* Header */}
<div className="space-y-1">
<h1 className="typography-ui-header font-semibold text-lg">
{isNewProfile ? 'New Git Profile' : isGlobalProfile ? 'Global Identity' : name || 'Edit Profile'}
@@ -369,6 +370,7 @@ export const GitIdentitiesPage: React.FC = () => {
</div>
)}
</div>
</div>
</ScrollableOverlay>
);
};