From 2f9f0aaaf23a2625e4e083f32fac1373aa4dc63c Mon Sep 17 00:00:00 2001 From: Patrick Britton Date: Tue, 10 Feb 2026 16:06:28 -0600 Subject: [PATCH] Fix profile header 9px overflow: raise compact threshold to 280, add clip safety net --- sojorn_app/lib/screens/profile/viewable_profile_screen.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sojorn_app/lib/screens/profile/viewable_profile_screen.dart b/sojorn_app/lib/screens/profile/viewable_profile_screen.dart index bcb5c8f..8fda544 100644 --- a/sojorn_app/lib/screens/profile/viewable_profile_screen.dart +++ b/sojorn_app/lib/screens/profile/viewable_profile_screen.dart @@ -1411,7 +1411,7 @@ class _ProfileHeader extends StatelessWidget { bottom: false, child: LayoutBuilder( builder: (context, constraints) { - final isCompact = constraints.maxHeight < 240; + final isCompact = constraints.maxHeight < 280; final avatarRadius = isCompact ? 38.0 : 46.0; return Padding( padding: EdgeInsets.only( @@ -1421,6 +1421,7 @@ class _ProfileHeader extends StatelessWidget { child: Column( mainAxisAlignment: MainAxisAlignment.end, mainAxisSize: MainAxisSize.min, + clipBehavior: Clip.hardEdge, children: [ if (isOwnProfile) Align(