diff --git a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift index 901695e..1a6f584 100644 --- a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift +++ b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift @@ -71,19 +71,19 @@ struct CreatorCommunityAllItemView: View { if item.price <= 0 || item.existOrdered { DetectableTextView(text: item.content, textSize: 13.3, font: Font.medium.rawValue) .frame( - width: screenSize().width - 16, + width: screenSize().width - 42, height: textHeight ) .onAppear { self.textHeight = self.estimatedHeight( for: item.content, - width: screenSize().width - 16 + width: screenSize().width - 42 ) } .onChange(of: item.content) { newText in self.textHeight = self.estimatedHeight( for: newText, - width: screenSize().width - 16 + width: screenSize().width - 42 ) } @@ -135,6 +135,7 @@ struct CreatorCommunityAllItemView: View { .padding(.vertical, 11) .background(Color.gray22) .cornerRadius(5.3) + .padding(.horizontal, 13.3) } private func estimatedHeight(for text: String, width: CGFloat) -> CGFloat { diff --git a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift index 91357b3..5fb361e 100644 --- a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift +++ b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift @@ -56,7 +56,6 @@ struct CreatorCommunityAllView: View { } } } - .padding(5.3) } } .sheet(