[yelp-xsl] mal2html-page: Fix margins on ui-tile again
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal2html-page: Fix margins on ui-tile again
- Date: Mon, 5 Nov 2012 15:55:12 +0000 (UTC)
commit 04f5ca09a277920fd4eb007e2fbc29ed6eaa6402
Author: Shaun McCance <shaunm gnome org>
Date: Sun Nov 4 17:28:58 2012 -0500
mal2html-page: Fix margins on ui-tile again
I didn't quite get it right last time. If a non-links ui-tile
is the first child (i.e. no blocks before it), a sequence of
ui-tiles doesn't get aligned right. I think I got it this time.
xslt/mallard/html/mal2html-page.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index da58966..f7dad52 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -976,7 +976,7 @@ div.region > div.ui-tile {
margin-top: 0;
margin-bottom: 1em;
}
-div.ui-tile:first-child { margin-top: 0; }
+div.ui-tile:first-child { margin-top: 1em; }
div.ui-tile > a {
display: inline-block;
vertical-align: top;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]