Skip to content

Commit 4faf06b

Browse files
authored
Merge pull request #7 from SirArkimedes/master
[macOS] Adjust padding of List items on sidebar
2 parents bec7a48 + 151af67 commit 4faf06b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Reddit-macOS/Views/PostList.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ struct PostList: View {
2525
ForEach(listing != nil ? listing!.data.children.map { $0.data } : []) { post in
2626
NavigationLink(destination: PostDetailView(post: post)) {
2727
PostView(post: post)
28-
.tag(post.id)
28+
.tag(post.id)
29+
.padding(EdgeInsets(top: 5, leading: 0, bottom: 5, trailing: 0))
2930
/// Double-click to open a new window for the `PostDetailView`
3031
.onTapGesture(count: 2) {
3132
let controller = DetailWindowController(rootView: PostDetailView(post: post))

0 commit comments

Comments
 (0)