commit e3ccf95780a3ae4b1e6980a7d8bbc53edfdfbc10
parent 9bac83352b66da2598518dbdcd605c7d037dda2e
Author: William Casarin <jb55@jb55.com>
Date: Mon, 11 Sep 2023 13:59:43 -0700
ui: fix padding of username next to pfp on some views
Changelog-Fixed: Fix padding of username next to pfp on some views
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Views/Events/EventProfile.swift b/damus/Views/Events/EventProfile.swift
@@ -37,13 +37,13 @@ struct EventProfile: View {
}
var body: some View {
- HStack(alignment: .center) {
+ HStack(alignment: .center, spacing: 10) {
ProfilePicView(pubkey: pubkey, size: pfp_size, highlight: .none, profiles: damus_state.profiles, disable_animation: disable_animation)
.onTapGesture {
damus_state.nav.push(route: .ProfileByKey(pubkey: pubkey))
}
- VStack(alignment: .leading) {
+ VStack(alignment: .leading, spacing: 0) {
EventProfileName(pubkey: pubkey, profile: profile, damus: damus_state, size: size)
UserStatusView(status: damus_state.profiles.profile_data(pubkey).status, show_general: damus_state.settings.show_general_statuses, show_music: damus_state.settings.show_music_statuses)