[yelp-xsl] mal2html-page: Line up tiles right for both links and overlays



commit eaa020bd846ae4b085974c5f60dac07ec9f6c7a1
Author: Shaun McCance <shaunm gnome org>
Date:   Sat Nov 3 21:52:22 2012 -0400

    mal2html-page: Line up tiles right for both links and overlays

 xslt/mallard/html/mal2html-page.xsl |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index a3b9bce..9e109ad 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -974,11 +974,14 @@ a.ui-overlay-close:hover {
 
 div.ui-tile {
   display: inline-block;
-  margin-bottom: 1em;
   vertical-align: top;
   clear: both
 }
-div.ui-tile:first-child, div.ui-tile + div.ui-tile { margin-top: 0; }
+div.region > div.ui-tile {
+  margin-top: 0;
+  margin-bottom: 1em;
+}
+div.ui-tile:first-child { margin-top: 0; }
 div.ui-tile > a {
   display: inline-block;
   vertical-align: top;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]