Browse Source

article body: enable wrapping on long words

Andrew Dolgov 1 year ago
parent
commit
f3b313b46f

+ 1 - 1
org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleFragment.java

@@ -457,7 +457,7 @@ public class ArticleFragment extends StateSavedFragment  {
                 "<meta content=\"text/html; charset=utf-8\" http-equiv=\"content-type\">" +
                 "<meta name=\"viewport\" content=\"width=device-width, user-scalable=no\" />" +
                 "<style type=\"text/css\">" +
-                "body { padding : 0px; margin : 0px; line-height : 130%; }" +
+                "body { padding : 0px; margin : 0px; line-height : 130%; word-wrap: break-word; }" +
                 "img, video, iframe { max-width : 100%; width : auto; height : auto; }" +
                 " table { width : 100%; }" +
                 cssOverride +

+ 0 - 1
tt-rss-android.iml

@@ -12,7 +12,6 @@
     <exclude-output />
     <content url="file://$MODULE_DIR$">
       <excludeFolder url="file://$MODULE_DIR$/.gradle" />
-      <excludeFolder url="file://$MODULE_DIR$/build" />
     </content>
     <orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
     <orderEntry type="sourceFolder" forTests="false" />