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, bottom: false,
child: LayoutBuilder( child: LayoutBuilder(
builder: (context, constraints) { builder: (context, constraints) {
final isCompact = constraints.maxHeight < 280; final isCompact = constraints.maxHeight < 240;
final avatarRadius = isCompact ? 38.0 : 46.0; final avatarRadius = isCompact ? 38.0 : 44.0;
return Padding( return Padding(
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: 0, top: 0,
bottom: isCompact ? 4 : 12, bottom: isCompact ? 4 : 6,
), ),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,