diff options
author | Andrew Dolgov <[email protected]> | 2013-05-15 13:02:56 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-15 13:02:56 +0400 |
commit | cbe2c78f96da0aaaf46589349d4cb9ff8c26d918 (patch) | |
tree | edf90e9f96adce720a97179881c9b5fa9954cf60 /src | |
parent | 8062e60b5168d21586d4bcc2cc61304c663a3f0e (diff) |
article: fix width of table element
Diffstat (limited to 'src')
-rw-r--r-- | src/org/fox/ttrss/ArticleFragment.java | 2 | ||||
-rw-r--r-- | src/org/fox/ttrss/offline/OfflineArticleFragment.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/org/fox/ttrss/ArticleFragment.java b/src/org/fox/ttrss/ArticleFragment.java index 396ef730..b45814cb 100644 --- a/src/org/fox/ttrss/ArticleFragment.java +++ b/src/org/fox/ttrss/ArticleFragment.java @@ -212,6 +212,8 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl String hexColor = String.format("#%06X", (0xFFFFFF & tv.data)); cssOverride += " a:link {color: "+hexColor+";} a:visited { color: "+hexColor+";}"; + cssOverride += " table { width : 100%; }"; + String articleContent = m_article.content != null ? m_article.content : ""; Document doc = Jsoup.parse(articleContent); diff --git a/src/org/fox/ttrss/offline/OfflineArticleFragment.java b/src/org/fox/ttrss/offline/OfflineArticleFragment.java index 13052f0a..b1093517 100644 --- a/src/org/fox/ttrss/offline/OfflineArticleFragment.java +++ b/src/org/fox/ttrss/offline/OfflineArticleFragment.java @@ -194,6 +194,8 @@ public class OfflineArticleFragment extends Fragment implements GestureDetector. String hexColor = String.format("#%06X", (0xFFFFFF & tv.data)); cssOverride += " a:link {color: "+hexColor+";} a:visited { color: "+hexColor+";}"; + cssOverride += " table { width : 100%; }"; + String articleContent = m_cursor.getString(m_cursor.getColumnIndex("content")); Document doc = Jsoup.parse(articleContent); |