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:
parent
4903117bbf
commit
bb1c7c7843
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue