Skip to content

Commit

Permalink
putting back position:relative on mod/pop. It seems like the only way…
Browse files Browse the repository at this point in the history
… to fix it.

This breaks the newFormattingContext rule, but it is localized on pop.
  • Loading branch information
kikito committed Nov 25, 2011
1 parent 6e481bc commit f5b87b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/module/mod.css
Original file line number Diff line number Diff line change
Expand Up @@ -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*/ }
3 changes: 2 additions & 1 deletion core/module/mod_doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ <h3>pop </h3>
<li>Choose when you require outside transparency which cannot be simulated. (do i need to make this work with clip rather than bkg position?)</li>
</ul>
<p>Inspired by <a href="http://www.lesliesommer.com/wdw07/html/" title="CSS Mojo: Adding Polish To Your Pages">Leslie Sommer’s Mojo blocks</a>.</p>
</div>
<p><strong>Warning:</strong> This module uses position:relative on its inner div.</p>
</div>
</div>
<b class="bottom"><b class="bl"></b><b class="br"></b></b>
</div>
Expand Down

0 comments on commit f5b87b6

Please sign in to comment.