Skip to content

Commit b7ae0b6

Browse files
author
vjkcxl
committed
Preserve image aspect ratio
1 parent 9319483 commit b7ae0b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ protected void renderContent(Bundle savedInstanceState) {
299299
"body { padding : 0px; margin : " + margin8dp + "px; line-height : 1.3; word-wrap: break-word; }" +
300300
"h1, h2, h3, h4, h5, h6 { line-height: 1; text-align: initial; }" +
301301
"img, video, iframe { max-width : 100%; width : auto; height : auto; }" +
302+
"img, video { object-fit : contain }" +
302303
" table { width : 100%; }" +
303304
cssOverride +
304305
"</style>" +

0 commit comments

Comments
 (0)