Fix profile header: revert compact threshold to 240, reduce avatar 46->44 and bottom padding 12->6 to fix 9px overflow without hiding follows

This commit is contained in:
Patrick Britton 2026-02-10 16:30:27 -06:00
parent 4903117bbf
commit bb1c7c7843

View file

@ -1411,12 +1411,12 @@ class _ProfileHeader extends StatelessWidget {
bottom: false,
child: LayoutBuilder(
builder: (context, constraints) {
final isCompact = constraints.maxHeight < 280;
final avatarRadius = isCompact ? 38.0 : 46.0;
final isCompact = constraints.maxHeight < 240;
final avatarRadius = isCompact ? 38.0 : 44.0;
return Padding(
padding: EdgeInsets.only(
top: 0,
bottom: isCompact ? 4 : 12,
bottom: isCompact ? 4 : 6,
),
child: Column(
mainAxisAlignment: MainAxisAlignment.end,