Implement margins and iPad reader preferences options

This commit is contained in:
Jackson Harper
2023-04-06 19:43:58 +08:00
parent 9669026c8f
commit 9aa06faf25
3 changed files with 3 additions and 2 deletions

View File

@ -519,7 +519,7 @@ struct WebReaderContainerView: View {
#endif
}
#if os(iOS)
.formSheet(isPresented: $showPreferencesPopover, useSmallDetent: false, useLargeDetent: false) {
.formSheet(isPresented: $showPreferencesPopover, modalSize: CGSize(width: 400, height: 465)) {
webPreferencesPopoverView
}
#else

File diff suppressed because one or more lines are too long

View File

@ -67,6 +67,7 @@ const App = () => {
alignment="center"
distribution="center"
className="disable-webkit-callout"
style={{ backgroundColor: 'var(--colors-readerBg)' }}
>
<ArticleContainer
article={window.omnivoreArticle}