diff --git a/Apps/LekaApp/Sources/Views/Categories/CategoryCurriculumsView.swift b/Apps/LekaApp/Sources/Views/Categories/CategoryCurriculumsView.swift index 23eb415e82..2aab82041b 100644 --- a/Apps/LekaApp/Sources/Views/Categories/CategoryCurriculumsView.swift +++ b/Apps/LekaApp/Sources/Views/Categories/CategoryCurriculumsView.swift @@ -41,7 +41,7 @@ struct CategoryCurriculumsView: View { Section { VStack(alignment: .leading, spacing: 5) { VStack(alignment: .leading) { - HStack(alignment: .firstTextBaseline) { + HStack { HStack(alignment: .center) { Text(section.details.title) .font(.title2) diff --git a/Modules/ContentKit/Sources/Views/ResourceFileView.swift b/Modules/ContentKit/Sources/Views/ResourceFileView.swift index de8e073754..058aa399ee 100644 --- a/Modules/ContentKit/Sources/Views/ResourceFileView.swift +++ b/Modules/ContentKit/Sources/Views/ResourceFileView.swift @@ -30,7 +30,7 @@ public struct ResourceFileView: View { Image(uiImage: self.resource.illustrationImage) .resizable() - .scaledToFill() + .scaledToFit() } .aspectRatio(16 / 9, contentMode: .fit) .frame(maxWidth: .infinity, maxHeight: .infinity)