From 94ad5ad366a2c00f10ebdb0e52293a1d2726da2f Mon Sep 17 00:00:00 2001 From: Amos Elliston <7338+famoseagle@users.noreply.github.com> Date: Mon, 26 Dec 2022 19:32:50 -0800 Subject: [PATCH] Add padding to the followers list Closes: #162 --- damus/Views/FollowingView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/damus/Views/FollowingView.swift b/damus/Views/FollowingView.swift index 3caf22a3..52e4f100 100644 --- a/damus/Views/FollowingView.swift +++ b/damus/Views/FollowingView.swift @@ -12,7 +12,7 @@ struct FollowUserView: View { let damus_state: DamusState var body: some View { - HStack(alignment: .top) { + HStack { let pmodel = ProfileModel(pubkey: target.pubkey, damus: damus_state) let followers = FollowersModel(damus_state: damus_state, target: target.pubkey) let pv = ProfileView(damus_state: damus_state, profile: pmodel, followers: followers) @@ -25,6 +25,8 @@ struct FollowUserView: View { ProfileName(pubkey: target.pubkey, profile: profile, contacts: damus_state.contacts, show_friend_confirmed: false) if let about = profile.flatMap { $0.about } { Text(about) + .lineLimit(3) + .font(.footnote) } } @@ -51,6 +53,7 @@ struct FollowersView: View { FollowUserView(target: .pubkey(pk), damus_state: damus_state) } } + .padding() } .navigationBarTitle("\(Profile.displayName(profile: profile, pubkey: whos))'s Followers") .onAppear { @@ -78,6 +81,7 @@ struct FollowingView: View { FollowUserView(target: .pubkey(pk), damus_state: damus_state) } } + .padding() } .onAppear { following.subscribe()