summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-02-21 17:08:19 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-02-21 17:08:19 +0100
commitf387929170b64dfd1805e60518af35ab623a49a6 (patch)
tree3e974aed158e0760aa9b4af52d62b41fe63660d8
parent50104ff6f69131fe9bdf62d9c3d90e2a1a9c8034 (diff)
downloadAntennaPod-f387929170b64dfd1805e60518af35ab623a49a6.zip
Improved webview layout when images are displayed
-rw-r--r--src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java b/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java
index 687c2582a..9d62f4e3c 100644
--- a/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java
+++ b/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java
@@ -191,7 +191,7 @@ public class ItemDescriptionFragment extends SherlockFragment {
* value is inserted directly into the CSS String.
* */
private String getWebViewStyle(String textColor) {
- final String WEBVIEW_STYLE = "<head><style type=\"text/css\"> * { color: %s; font-family: Helvetica; line-height: 1.5em; font-size: 11pt; } a { font-style: normal; text-decoration: none; font-weight: normal; color: #00A8DF; }</style></head>";
+ final String WEBVIEW_STYLE = "<head><style type=\"text/css\"> * { color: %s; font-family: Helvetica; line-height: 1.5em; font-size: 11pt; } a { font-style: normal; text-decoration: none; font-weight: normal; color: #00A8DF; } img { display: block; margin: 10 auto; }</style></head>";
return String.format(WEBVIEW_STYLE, textColor);
}