projects
/
tweeper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1e1c0
)
rss_converter_instagram.com.xsl: make images adapt to the viewer width
author
Antonio Ospite <ao2@ao2.it>
Fri, 20 May 2016 16:05:29 +0000
(18:05 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 20 May 2016 16:05:29 +0000
(18:05 +0200)
This way the user does not have to scroll horizontally to see the whole
picture.
rss_converter_instagram.com.xsl
patch
|
blob
|
history
diff --git
a/rss_converter_instagram.com.xsl
b/rss_converter_instagram.com.xsl
index
7799a6e
..
633c8ef
100644
(file)
--- a/
rss_converter_instagram.com.xsl
+++ b/
rss_converter_instagram.com.xsl
@@
-89,7
+89,7
@@
</xsl:if>
<xsl:value-of select="$item-content-caption"/>
</p><br />
- <a href="{$item-permalink}"><img src="{$item-content-image}" /></a>
+ <a href="{$item-permalink}"><img src="{$item-content-image}"
style="max-width: 100%"
/></a>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
<xsl:if test="$generate-enclosure = 1">