Some layout changes to the profile view

This commit is contained in:
Sam DuBois
2022-12-17 22:00:00 -07:00
committed by William Casarin
parent 5fdcecd44f
commit 8d4c7a5ddc
2 changed files with 8 additions and 5 deletions

View File

@@ -93,9 +93,11 @@ struct EventView: View {
}
.buttonStyle(PlainButtonStyle())
TextEvent(inner_ev, pubkey: inner_ev.pubkey)
.padding([.top], 2)
}
} else {
TextEvent(event, pubkey: pubkey)
.padding([.top], 6)
}
}
}
@@ -146,7 +148,7 @@ struct EventView: View {
.background(event_validity_color(event.validity))
.id(event.id)
.frame(maxWidth: .infinity, minHeight: PFP_SIZE)
.padding([.bottom], 4)
.padding([.bottom], 2)
.event_context_menu(event, privkey: damus.keypair.privkey)
}
}