From f5b87b6d599ac428cd1c3c58b6d8e911f5519f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Enrique=20Garc=C3=ADa=20Cota?=
Date: Fri, 25 Nov 2011 17:57:42 +0100
Subject: [PATCH] putting back position:relative on mod/pop. It seems like the
only way to fix it. This breaks the newFormattingContext rule, but it is
localized on pop.
---
core/module/mod.css | 2 +-
core/module/mod_doc.html | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/core/module/mod.css b/core/module/mod.css
index 620e105f..07011253 100644
--- a/core/module/mod.css
+++ b/core/module/mod.css
@@ -27,7 +27,7 @@ b.top, b.top b, b.bottom, b.bottom b{display:block;background-repeat:no-repeat;f
.complex .bottom{height:5px;/*margin-top:-10px;*/}
/* pop */
.pop{overflow:visible;margin: 10px 20px 20px 10px; background-position:left top;}
-.pop .inner{right:-10px; bottom:-10px; background-position:right bottom;padding:0 10px 10px 0;}
+.pop .inner{position:relative;right:-10px; bottom:-10px;background-position:right bottom;padding:0 10px 10px 0;}
.pop .tl, .pop .br{display:none;}
.pop .bl{bottom:-10px;}
.pop .tr{float:right;margin-right:-10px;_display:inline; /*fix double margin bug*/ }
diff --git a/core/module/mod_doc.html b/core/module/mod_doc.html
index 64f6063c..25111d99 100644
--- a/core/module/mod_doc.html
+++ b/core/module/mod_doc.html
@@ -74,7 +74,8 @@ pop
Choose when you require outside transparency which cannot be simulated. (do i need to make this work with clip rather than bkg position?)
Inspired by Leslie Sommer’s Mojo blocks.
-
+ Warning: This module uses position:relative on its inner div.
+