From dc902b6ceb9ae4f19494da5358cb166bbd8b29cd Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 16 Jun 2025 05:44:53 -0700 Subject: feat: Development commit --- Sora/Views/Post/Grid/PostGridView.swift | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift index 0d8b022..ff3fba1 100644 --- a/Sora/Views/Post/Grid/PostGridView.swift +++ b/Sora/Views/Post/Grid/PostGridView.swift @@ -41,7 +41,11 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length PostGridThumbnailPlaceholderView() } } - .padding(.horizontal) + #if os(macOS) + .padding() + #else + .padding(.horizontal) + #endif .transition(.opacity) } else { let columnCount = settings.thumbnailGridColumns @@ -63,7 +67,11 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length } } } - .padding(.horizontal) + #if os(macOS) + .padding() + #else + .padding(.horizontal) + #endif .transition(.opacity) } else { WaterfallGrid(filteredPosts, id: \.id) { post in @@ -71,7 +79,11 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length .id(post.id) } .gridStyle(columns: columnCount) - .padding(.horizontal) + #if os(macOS) + .padding() + #else + .padding(.horizontal) + #endif .transition(.opacity) } } -- cgit v1.2.3