Skip to content

Commit

Permalink
Merge pull request #4777 from wikimedia/half-sheet-modal-UI
Browse files Browse the repository at this point in the history
Image Recommendations: Bottom Modal Sheet
  • Loading branch information
tonisevener committed Mar 21, 2024
2 parents 4e95344 + ff0bbe5 commit eda4703
Show file tree
Hide file tree
Showing 29 changed files with 793 additions and 782 deletions.
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "bot.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "mini-external.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Expand Up @@ -19,6 +19,8 @@ struct WKArticleSummaryView: View {
}

var body: some View {


VStack(alignment: .leading, spacing: 8) {
Spacer()
.frame(height: 12)
Expand All @@ -43,5 +45,8 @@ struct WKArticleSummaryView: View {
.frame(height: 2)
WKHtmlText(html: articleSummary.extractHtml, styles: summaryStyles)
}

}


}
Expand Up @@ -19,5 +19,6 @@ struct WKHtmlText: View {
Text(attributedString)
.lineLimit(nil)
.lineSpacing(styles.lineSpacing)
.fixedSize(horizontal: false, vertical: true)
}
}

0 comments on commit eda4703

Please sign in to comment.