diff options
author | Shaun McCance <shaunm@gnome.org> | 2012-01-20 13:38:48 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2012-01-21 11:39:19 -0500 |
commit | 5ce1d0c421380d94be97a3003698a29672926e4d (patch) | |
tree | e467a20b80db71ec08e44fac6d8e5ddfcffd89fb /data | |
parent | d61ff3f7163b700c72043b0faae13a447e127788 (diff) | |
download | yelp-5ce1d0c421380d94be97a3003698a29672926e4d.tar.gz |
yelp-common.xsl: Fix trail padding for mobile rendering
Diffstat (limited to 'data')
-rw-r--r-- | data/xslt/yelp-common.xsl.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/xslt/yelp-common.xsl.in b/data/xslt/yelp-common.xsl.in index 1ff4440a..d6fc535f 100644 --- a/data/xslt/yelp-common.xsl.in +++ b/data/xslt/yelp-common.xsl.in @@ -90,6 +90,12 @@ div.trail { margin: 0 1em 0.2em 1em; padding: 0; } +@media only screen and (max-width: 400px) { + div.trails { + padding-left: 6px; + padding-right: 6px; + } +} a.trail { color: </xsl:text> <xsl:value-of select="$color.text_light"/><xsl:text>; } a.trail:hover { text-decoration: none; color: </xsl:text> |