Fix not being able to swipe back from read view
This commit is contained in:
parent
8ac578a914
commit
f93f778cb2
|
@ -73,6 +73,9 @@ class ReadViewController: UIViewController {
|
|||
// transparent background required to prevent white flash in dark mode, just using .appBackground doesn't work
|
||||
webView.isOpaque = false
|
||||
webView.backgroundColor = .clear
|
||||
if #available(iOS 16.4, *) {
|
||||
webView.isInspectable = true
|
||||
}
|
||||
if #available(iOS 16.0, *) {
|
||||
webView.isFindInteractionEnabled = true
|
||||
}
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
--dark-background-color: rgb(25, 25, 25); /* .appBackground */
|
||||
}
|
||||
|
||||
/* we want to prevent anything from horizontally overflowing its container */
|
||||
* {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 12px;
|
||||
font-family: ui-serif;
|
||||
|
@ -27,10 +32,6 @@ a {
|
|||
color: var(--tint-color);
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue