fix: reserve profile badge header space
This commit is contained in:
parent
9294f2a08f
commit
2684fd4673
@ -633,7 +633,7 @@ class _PersonDetailPageState extends State<PersonDetailPage> {
|
|||||||
PropsResources? dataCard,
|
PropsResources? dataCard,
|
||||||
) {
|
) {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
height: 520.w,
|
height: 570.w,
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
|
|||||||
@ -567,10 +567,13 @@ class _RoomUserInfoCardState extends State<RoomUserInfoCard> {
|
|||||||
fallbackBadges: _roomCardFallbackBadges(ref, profile),
|
fallbackBadges: _roomCardFallbackBadges(ref, profile),
|
||||||
displayScope: SCUserBadgeDisplayScope.long,
|
displayScope: SCUserBadgeDisplayScope.long,
|
||||||
height: 62.w,
|
height: 62.w,
|
||||||
badgeHeight: 57.5.w,
|
badgeHeight: 20.w,
|
||||||
longBadgeWidth: 145.w,
|
longBadgeWidth: 62.w,
|
||||||
spacing: 12.w,
|
spacing: 4.w,
|
||||||
|
runSpacing: 4.w,
|
||||||
wrap: true,
|
wrap: true,
|
||||||
|
maxWrapRows: 2,
|
||||||
|
scrollLastWrapRow: true,
|
||||||
reserveSpace: false,
|
reserveSpace: false,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user