pull/79/head
kunfei 5 years ago
parent 890e1b465d
commit 94bfc9a4d3
  1. 7
      app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt

@ -86,10 +86,11 @@ class ReadRssViewModel(application: Application) : BaseViewModel(application),
fun clHtml(content: String): String {
return """<style>
img{max-width:100% !important; width:auto; height:auto;}
video{object-fit:fill; max-width:100% !important; width:auto; height:auto;}
img{max-width:100%; width:auto; height:auto;}
video{object-fit:fill; max-width:100%; width:auto; height:auto;}
body{word-wrap:break-word; height:auto;max-width: 100%; width:auto;}
</style>$content"""
</style>
$content"""
}
override fun onInit(status: Int) {

Loading…
Cancel
Save