[yelp-xsl] html.xsl: Fix positioning issue with images
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] html.xsl: Fix positioning issue with images
- Date: Fri, 9 Nov 2012 15:01:44 +0000 (UTC)
commit 497abcd4b451b08a43e0d8b3a0587412aac3bf49
Author: Shaun McCance <shaunm gnome org>
Date: Fri Nov 9 10:00:41 2012 -0500
html.xsl: Fix positioning issue with images
If span.media-image is inline-block, but img is inline, odd
things can happen.
xslt/common/html.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index a7a0180..fa99eda 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -1241,7 +1241,7 @@ span.sys { font-family: monospace; }
span.var { font-style: italic; }
.ui-tile-img .media-controls { display: none; }
-span.media { display: inline-block; }
+span.media-audio, span.media-video { display: inline-block; }
audio, video { display: block; margin: 0; }
div.media > div.inner { display: inline-block; text-align: center; }
div.media-controls {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]