article: fix width of table element
This commit is contained in:
parent
8062e60b51
commit
cbe2c78f96
@ -212,6 +212,8 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl
|
|||||||
String hexColor = String.format("#%06X", (0xFFFFFF & tv.data));
|
String hexColor = String.format("#%06X", (0xFFFFFF & tv.data));
|
||||||
cssOverride += " a:link {color: "+hexColor+";} a:visited { color: "+hexColor+";}";
|
cssOverride += " a:link {color: "+hexColor+";} a:visited { color: "+hexColor+";}";
|
||||||
|
|
||||||
|
cssOverride += " table { width : 100%; }";
|
||||||
|
|
||||||
String articleContent = m_article.content != null ? m_article.content : "";
|
String articleContent = m_article.content != null ? m_article.content : "";
|
||||||
|
|
||||||
Document doc = Jsoup.parse(articleContent);
|
Document doc = Jsoup.parse(articleContent);
|
||||||
|
@ -194,6 +194,8 @@ public class OfflineArticleFragment extends Fragment implements GestureDetector.
|
|||||||
String hexColor = String.format("#%06X", (0xFFFFFF & tv.data));
|
String hexColor = String.format("#%06X", (0xFFFFFF & tv.data));
|
||||||
cssOverride += " a:link {color: "+hexColor+";} a:visited { color: "+hexColor+";}";
|
cssOverride += " a:link {color: "+hexColor+";} a:visited { color: "+hexColor+";}";
|
||||||
|
|
||||||
|
cssOverride += " table { width : 100%; }";
|
||||||
|
|
||||||
String articleContent = m_cursor.getString(m_cursor.getColumnIndex("content"));
|
String articleContent = m_cursor.getString(m_cursor.getColumnIndex("content"));
|
||||||
Document doc = Jsoup.parse(articleContent);
|
Document doc = Jsoup.parse(articleContent);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user