diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-02-21 17:08:19 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-02-21 17:08:19 +0100 |
commit | f387929170b64dfd1805e60518af35ab623a49a6 (patch) | |
tree | 3e974aed158e0760aa9b4af52d62b41fe63660d8 /src/de | |
parent | 50104ff6f69131fe9bdf62d9c3d90e2a1a9c8034 (diff) | |
download | AntennaPod-f387929170b64dfd1805e60518af35ab623a49a6.zip |
Improved webview layout when images are displayed
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java | 2 |
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); } |