fix: reserve profile badge header space

This commit is contained in:
zhx 2026-05-18 13:01:02 +08:00
parent 9294f2a08f
commit 2684fd4673
2 changed files with 7 additions and 4 deletions

View File

@ -633,7 +633,7 @@ class _PersonDetailPageState extends State<PersonDetailPage> {
PropsResources? dataCard,
) {
return SizedBox(
height: 520.w,
height: 570.w,
child: Stack(
children: [
SizedBox(

View File

@ -567,10 +567,13 @@ class _RoomUserInfoCardState extends State<RoomUserInfoCard> {
fallbackBadges: _roomCardFallbackBadges(ref, profile),
displayScope: SCUserBadgeDisplayScope.long,
height: 62.w,
badgeHeight: 57.5.w,
longBadgeWidth: 145.w,
spacing: 12.w,
badgeHeight: 20.w,
longBadgeWidth: 62.w,
spacing: 4.w,
runSpacing: 4.w,
wrap: true,
maxWrapRows: 2,
scrollLastWrapRow: true,
reserveSpace: false,
),
),