Skip to content

Commit d2157a1

Browse files
committed
[macOS] Adjust padding of List on sidebar
1 parent bec7a48 commit d2157a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Reddit-macOS/Views/PostList.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ 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))
30+
2931
/// Double-click to open a new window for the `PostDetailView`
3032
.onTapGesture(count: 2) {
3133
let controller = DetailWindowController(rootView: PostDetailView(post: post))

0 commit comments

Comments
 (0)